Show More
Commit Description:
* DRY the toggle button via application_helper.rb#toggle_button and _toggle_button.js.haml...
Commit Description:
* DRY the toggle button via application_helper.rb#toggle_button and _toggle_button.js.haml * bootrapize the user_admin * now considering user.enabled * tidy up route
File last commit:
Show/Diff file:
Action:
app/views/report/stuck.html.haml | 17 lines | 451 B | text/x-haml | HamlLexer |
%table.info
%thead
%tr.info-head
%th Problem
%th User
%th tries
%tbody
- @struggle.each do |s|
%tr
%td
= link_to "(#{s[:problem].name})", controller: :problems, action: :stat, id: s[:problem]
= s[:problem].full_name
%td
= link_to "(#{s[:user].login})", controller: :users, action: :profile, id: s[:user]
= s[:user].full_name
%td
= s[:tries]