diff --git a/app/views/user_admin/edit.html.haml b/app/views/user_admin/edit.html.haml --- a/app/views/user_admin/edit.html.haml +++ b/app/views/user_admin/edit.html.haml @@ -1,9 +1,11 @@ %h1 Editing user -= form_tag :action => 'update', :id => @user do += form_tag( {:action => 'update', :id => @user}, {class: 'form-horizontal'}) do = error_messages_for 'user' = render partial: "form" - = submit_tag "Edit" + .form-group + .col-md-offset-2.col-md-4 + = submit_tag "Edit", class: 'btn btn-primary' = link_to 'Show', :action => 'show', :id => @user