Show More
Commit Description:
- login report...
Commit Description:
- login report - fix bugs on pagination on user manage
File last commit:
Show/Diff file:
Action:
app/views/shared/_problem_select.html.haml | 19 lines | 708 B | text/x-haml | HamlLexer |
.panel.panel-primary
.panel-heading
Problems
.panel-body
.radio
%label
= radio_button_tag 'problems', 'all', (params[:users] == "all")
All problems
.radio
%label
= radio_button_tag 'problems', 'enabled', (params[:users] == "enabled"), checked: true
Only problems with available = "yes"
.radio
%label
= radio_button_tag 'problems', 'selected', (params[:users] == "group")
Only these selected problems
= select_tag 'problem_id[]',
options_for_select(Problem.all.collect {|p| ["[#{p.name}] #{p.full_name}", p.id]},params[:problem_id]),
{ id: :problem_id, class: 'select2 form-control', multiple: "true" }