diff options
author | Matthew Lemon <y@yulqen.org> | 2024-10-22 21:05:14 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-10-22 21:05:14 +0100 |
commit | e0b7249dc8be2bc1f20e60b46cfb843c7e0058bd (patch) | |
tree | 8e80e87384fb00a6187a2264b85af0bae3995326 | |
parent | b68e88b7643920caeb5d9d9cda8cdd08d51e10c9 (diff) |
Removes form helper() and changes font in input
-rw-r--r-- | alphabetlearning/resources/forms.py | 2 | ||||
-rw-r--r-- | alphabetlearning/static/css/forms.css | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/alphabetlearning/resources/forms.py b/alphabetlearning/resources/forms.py index c7eba4c..6eee0b8 100644 --- a/alphabetlearning/resources/forms.py +++ b/alphabetlearning/resources/forms.py @@ -33,8 +33,6 @@ def _create_choices_tuple() -> list[tuple[str, str]]: class ResourceCreateForm(forms.Form): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) - self.helper = FormHelper(self) - self.helper.add_input(Submit("submit", "Submit")) self.fields["subcategories"].choices = _create_choices_tuple() pass diff --git a/alphabetlearning/static/css/forms.css b/alphabetlearning/static/css/forms.css index 7e6be8a..35f6636 100644 --- a/alphabetlearning/static/css/forms.css +++ b/alphabetlearning/static/css/forms.css @@ -30,6 +30,7 @@ form label[for=id_pdf_files]::after, form label[for=id_thumbnail_files]::after { form input[type="text"], form input[type="password"], form input[type="email"] { padding: 0.75em 18px; border-radius: 5px; + font-weight: 500; width: 100%; margin-left: 2px; } |