Show More
Commit Description:
default config
Commit Description:
default config
File last commit:
Show/Diff file:
Action:
app/views/report/problem_hof.html.haml | 20 lines | 580 B | text/x-haml | HamlLexer |
prepare for better hall of fame
r425
/- if params[:id]
/ %h1 Tasks Hall of Fame
/ = link_to('[back to All-Time Hall of Fame]', action: 'problem_hof', id: nil )
/- else
/ %h1 All-Time Hall of Fame
DRY problem select
r874 .row.mb-5
.col-md-6
= render 'problem_chooser', {problems: @problems, selected_problem: @problem, target_url_method: :problem_hof_report_path}
add problem stat
r400
prepare for better hall of fame
r425 - unless params[:id]
Please select a problem.
- else
DRY problem select
r874 %h1.mt-3
allow ta to set model submission
r857 [#{Problem.find(params[:id]).name}] #{Problem.find(params[:id]).full_name}
- if @current_user.has_role?('ta')
%a{href:stat_problem_path(@problem)} (stat)
hall of fame bootrapized
r560 =render partial: 'task_hof'
add problem stat
r400