Show More
Commit Description:
submission report
Commit Description:
submission report
References:
File last commit:
Show/Diff file:
Action:
app/views/shared/_problem_select.html.haml
| 10 lines
| 387 B
| text/x-haml
| HamlLexer
|
r788 | .panel.panel-primary | |||
.panel-heading | ||||
Problems | ||||
.panel-body | ||||
%p | ||||
r790 | Select problem(s) to be included in the report | |||
r788 | = label_tag :problem_id, "Problems" | |||
= select_tag 'problem_id[]', | ||||
options_for_select(Problem.all.collect {|p| ["[#{p.name}] #{p.full_name}", p.id]},params[:problem_id]), | ||||
r790 | { id: :problem_id, class: 'select2 form-control', multiple: "true" } | |||