Show More
Commit Description:
- add view testcase toggle for each problem...
Commit Description:
- add view testcase toggle for each problem - refactor: move view testcase to testcase_controller - change flash rendering
References:
File last commit:
Show/Diff file:
Action:
app/views/problems/edit.html.erb | 9 lines | 271 B | text/plain | TextLexer |
<h1>Editing problem</h1>
<%= form_for @problem,url:{action: 'update'},html: {multipart: true} do %>
<%= render :partial => 'form' %>
<%= submit_tag 'Edit' %>
<% end %>
<%= link_to 'Show', :action => 'show', :id => @problem %> |
<%= link_to 'Back', problems_path %>