From 59698f12be578c9c6369bd50eddde56a441340c2 Mon Sep 17 00:00:00 2001 From: sebousan <sebousan@gmail.com> Date: Wed, 19 Jan 2022 18:42:38 +0100 Subject: [PATCH] password recovery: good order --- app/views/devise/passwords/edit.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/devise/passwords/edit.html.erb b/app/views/devise/passwords/edit.html.erb index 6dfd0d076..91f5153e6 100644 --- a/app/views/devise/passwords/edit.html.erb +++ b/app/views/devise/passwords/edit.html.erb @@ -22,7 +22,6 @@ special_char: Rails.application.config.allowed_special_chars }, input_html: { autocomplete: "new-password" } %> - <%= f.button :submit, t(".change_my_password"), class: 'btn btn-primary' %> </div> <div class="col-md-6"> <%= f.input :password_confirmation, @@ -33,5 +32,8 @@ compare_with_field: :password, input_html: { autocomplete: "new-password" } %> </div> + <div class="col-md-6"> + <%= f.button :submit, t(".change_my_password"), class: 'btn btn-primary' %> + </div> </div> <% end %> -- GitLab