Show More
Commit Description:
add enabled option for user
Commit Description:
add enabled option for user
References:
File last commit:
Show/Diff file:
Action:
app/views/problems/edit.html.haml | 14 lines | 529 B | text/x-haml | HamlLexer |
.container-fluid
= form_for @problem,url:{action: 'update'},html: {multipart: true} do
.row
.col-md-6
%h1 Editing problem
= render :partial => 'form'
.row
.col-md-4
= submit_tag 'Edit', class: 'btn btn-primary btn-block'
.col-md-4
= link_to 'Show', {:action => 'show', :id => @problem}, class: 'btn btn-default btn-block'
.col-md-4
= link_to 'Back', problems_path, class: 'btn btn-default btn-block'
.div{style: 'height: 5em'}