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/main/compiler_msg.html.haml | 6 lines | 262 B | text/x-haml | HamlLexer |
%h2= "Compiler message for submission \##{@submission.number}, task: #{@submission.problem.name}"
%p
- if @submission.compiler_message == nil or @submission.compiler_message.chomp == ''
No message
- else
= simple_format(@submission.compiler_message)