Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
roomlist
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
23
Issues
23
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SRCT
roomlist
Commits
411412fa
Commit
411412fa
authored
May 26, 2017
by
Daniel W Bond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
roomlist/accounts/forms.py
roomlist/accounts/forms.py
+1
-1
No files found.
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