Commit a45142ac16f63f57d95da303f8342edb9b2b6e0d
1 parent
12122b7e
Exists in
master
and in
1 other branch
Add cancel buttons on forms and style
Showing
4 changed files
with
4 additions
and
2 deletions
Show diff stats
app/views/apps/edit.html.haml
app/views/apps/new.html.haml
app/views/users/edit.html.haml
| 1 | - content_for :title, "Edit #{@user.name}" | 1 | - content_for :title, "Edit #{@user.name}" |
| 2 | +- content_for :action_bar, link_to('cancel', user_path(@user), :class => 'button') | ||
| 2 | 3 | ||
| 3 | = form_for @user do |f| | 4 | = form_for @user do |f| |
| 4 | = @user.errors.full_messages.to_sentence | 5 | = @user.errors.full_messages.to_sentence |