Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
roomlist
Commits
411412fa
Commit
411412fa
authored
May 26, 2017
by
Daniel W Bond
Browse files
wrong css class on blocked students to match with chosen selector
parent
1b57e736
Pipeline
#1361
passed with stage
in 3 minutes and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
roomlist/accounts/forms.py
View file @
411412fa
...
...
@@ -89,7 +89,7 @@ class StudentUpdateForm(forms.Form):
# exclude self from request in form instantiation
blocked_kids
=
forms
.
ModelMultipleChoiceField
(
queryset
=
Student
.
objects
.
all
(),
required
=
False
)
blocked_kids
.
widget
.
attrs
[
'class'
]
=
'form-control
chosen
-select'
blocked_kids
.
widget
.
attrs
[
'class'
]
=
'form-control
blocked
-select'
major
=
forms
.
ModelMultipleChoiceField
(
queryset
=
Major
.
objects
.
all
(),
required
=
False
)
major
.
widget
.
attrs
[
'class'
]
=
'form-control chosen-select'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment