Show More
Commit Description:
update max_score / current_score to property use group filter
Commit Description:
update max_score / current_score to property use group filter
References:
File last commit:
Show/Diff file:
Action:
app/views/report/current_score.html.haml
| 15 lines
| 637 B
| text/x-haml
| HamlLexer
|
r762 | .container-fluid | |||
%h1 Current Score | ||||
= form_tag current_score_report_path, method: 'get' do | ||||
r802 | .radio-inline | |||
= radio_button_tag 'users', 'all', (params[:users] == 'all') | ||||
= label_tag(:users_all,'Show all users') | ||||
%br | ||||
.radio-inline | ||||
= radio_button_tag 'users', 'group', (params[:users] == 'group') | ||||
= label_tag(:users_group, 'Show only users from this group') | ||||
r782 | = select_tag "group_id", options_from_collection_for_select( Group.all, 'id','name',params[:group_id]), id: 'group_name',class: 'select2', style: 'width: 20em'; | |||
r762 | = submit_tag 'Apply',class: 'btn btn-default' | |||
r601 | ||||
r762 | %br | |||
= render "score_table" | ||||