From 9ad58c94a1ea6d8389249a50c34a3793e94909e1 Mon Sep 17 00:00:00 2001 From: Steffen van Bergerem Date: Sun, 7 Jun 2015 21:49:11 +0200 Subject: [PATCH] Remove cancel button from user edit --- app/views/users/_edit.haml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/users/_edit.haml b/app/views/users/_edit.haml index 381e46dc7..cc05e1af8 100644 --- a/app/views/users/_edit.haml +++ b/app/views/users/_edit.haml @@ -47,8 +47,7 @@ %div.col-sm-6 = f.password_field :password_confirmation, placeholder: t('.character_minimum_expl'), class: "form-control" - .submit_block - = link_to t('cancel'), edit_user_path, class: "btn btn-default" + .clearfix = f.submit t('.change_password'), class: "btn btn-primary pull-right", name: 'change_password' %hr