From e0b7249dc8be2bc1f20e60b46cfb843c7e0058bd Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 22 Oct 2024 21:05:14 +0100 Subject: Removes form helper() and changes font in input --- alphabetlearning/resources/forms.py | 2 -- alphabetlearning/static/css/forms.css | 1 + 2 files changed, 1 insertion(+), 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; } -- cgit v1.2.3