diff --git a/biscuit/apps/alsijil/forms.py b/biscuit/apps/alsijil/forms.py index b7b29a28f5a12f8806cbe50c4f1572e914cf5b8d..358e85cf8f408312533208b80b08bea55b83b99a 100644 --- a/biscuit/apps/alsijil/forms.py +++ b/biscuit/apps/alsijil/forms.py @@ -19,6 +19,7 @@ class PersonalNoteForm(forms.ModelForm): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) + self.fields['person_name'].widget.attrs.update({'class':'alsijil-lesson-personal-note-name'}) try: self.fields['person_name'].initial = str(self.instance.person) except: diff --git a/biscuit/apps/alsijil/static/css/alsijil/lesson.css b/biscuit/apps/alsijil/static/css/alsijil/lesson.css index 7394fd26546f67fe65d1f7ac73cb7d813100e3d2..2cdd497ddbc336aabeff2c93ba12492eccf64c30 100644 --- a/biscuit/apps/alsijil/static/css/alsijil/lesson.css +++ b/biscuit/apps/alsijil/static/css/alsijil/lesson.css @@ -1,5 +1,5 @@ -input:disabled { +input.alsijil-lesson-personal-note-name:disabled { background-color: transparent; border: 0; - color: #272a2e + color: #212529; }