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
13649278
Commit
13649278
authored
May 26, 2017
by
Daniel W Bond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved css classes from views directly to form
parent
7ce585cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
roomlist/welcome/forms.py
roomlist/welcome/forms.py
+1
-0
No files found.
roomlist/welcome/forms.py
View file @
13649278
...
...
@@ -54,6 +54,7 @@ class WelcomeMajorForm(forms.ModelForm):
def
__init__
(
self
,
*
args
,
**
kwargs
):
super
(
WelcomeMajorForm
,
self
).
__init__
(
*
args
,
**
kwargs
)
self
.
fields
[
'major'
].
widget
.
attrs
[
'class'
]
=
'form-control chosen-select'
self
.
fields
[
'graduating_year'
].
widget
.
attrs
[
'class'
]
=
'form-control'
class
Meta
:
...
...
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