Commit a8ea548d authored by Daniel W Bond's avatar Daniel W Bond
Browse files

moved last of form-control css classes to from

parent 2f35e106
......@@ -80,6 +80,7 @@ class StudentUpdateForm(forms.Form):
show_gender = BooleanRadioField(required=True)
# this is not required if a student is an RA or an RD
on_campus = BooleanRadioField(required=True)
room = SelectRoomField(queryset=Room.objects.all(), required=False)
......@@ -88,8 +89,10 @@ class StudentUpdateForm(forms.Form):
# exclude self from request in form instantiation
blocked_kids = forms.ModelMultipleChoiceField(queryset=Student.objects.all(),
blocked_kids.widget.attrs['class'] = 'form-control chosen-select'
major = forms.ModelMultipleChoiceField(queryset=Major.objects.all(), required=False)
major.widget.attrs['class'] = 'form-control chosen-select'
graduating_year = forms.IntegerField(max_value=9999, min_value=-9999, required=False)
graduating_year.widget.attrs['class'] = 'form-control'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment