Show More
Commit Description:
add golden submit button...
Commit Description:
add golden submit button
- When the user submit more than or equal to 100 times the submit button will turn gold
- Add golden-btn tag in applications.css.scss
References:
File last commit:
Show/Diff file:
Action:
app/views/shared/_user_select.html.haml
| 19 lines
| 637 B
| text/x-haml
| HamlLexer
|
| r788 | .panel.panel-primary | |||
| .panel-heading | ||||
| Users | ||||
| .panel-body | ||||
| .radio | ||||
| %label | ||||
| = radio_button_tag 'users', 'all', (params[:users] == "all") | ||||
| All users | ||||
| .radio | ||||
| %label | ||||
| r792 | = radio_button_tag 'users', 'enabled', (params[:users] == "enabled"), checked: true | |||
| r788 | Only enabled users | |||
| r790 | .radio | |||
| %label | ||||
| = radio_button_tag 'users', 'group', (params[:users] == "group") | ||||
| Only these groups | ||||
| = select_tag 'group_id[]', | ||||
| options_for_select(Group.all.collect {|g| ["[#{g.name}] #{g.description}", g.id]}), | ||||
| { id: 'group_id', class: 'select2 form-control', multiple: "true"} | ||||
