diff --git a/app/views/devise/confirmations/new.html.haml b/app/views/devise/confirmations/new.html.haml index d967cb74..f4f0ecf3 100644 --- a/app/views/devise/confirmations/new.html.haml +++ b/app/views/devise/confirmations/new.html.haml @@ -6,4 +6,5 @@ = f.email_field :screen_name, autofocus: true, label: "User name" = f.submit "Resend confirmation instructions" - = render "devise/shared/links" \ No newline at end of file + = render "devise/shared/links" += render "shared/links" diff --git a/app/views/devise/passwords/edit.html.haml b/app/views/devise/passwords/edit.html.haml index 2a4e5d0f..a6f67a09 100644 --- a/app/views/devise/passwords/edit.html.haml +++ b/app/views/devise/passwords/edit.html.haml @@ -10,4 +10,5 @@ = f.submit "Change my password" - = render "devise/shared/links" \ No newline at end of file + = render "devise/shared/links" += render "shared/links" diff --git a/app/views/devise/passwords/new.html.haml b/app/views/devise/passwords/new.html.haml index eee273ad..56a4c885 100644 --- a/app/views/devise/passwords/new.html.haml +++ b/app/views/devise/passwords/new.html.haml @@ -6,4 +6,5 @@ = f.text_field :screen_name, autofocus: true, "User name" = f.submit "Send me reset password instructions" - = render "devise/shared/links" \ No newline at end of file + = render "devise/shared/links" += render "shared/links" diff --git a/app/views/devise/registrations/edit.html.haml b/app/views/devise/registrations/edit.html.haml index fa3dbfe7..e6ab70f8 100644 --- a/app/views/devise/registrations/edit.html.haml +++ b/app/views/devise/registrations/edit.html.haml @@ -23,4 +23,5 @@ %p =button_to "Delete my account", registration_path(resource_name), data: { confirm: "Are you sure?" }, method: :delete, class: "btn btn-danger btn-sm" - = link_to "Back", :back \ No newline at end of file + = link_to "Back", :back + = render 'shared/links' diff --git a/app/views/devise/registrations/new.html.haml b/app/views/devise/registrations/new.html.haml index 80d46542..9b27989f 100644 --- a/app/views/devise/registrations/new.html.haml +++ b/app/views/devise/registrations/new.html.haml @@ -13,3 +13,4 @@ = f.submit "Sign up" = render "devise/shared/links" += render 'shared/links' diff --git a/app/views/devise/sessions/new.html.haml b/app/views/devise/sessions/new.html.haml index a9721102..f9cfb033 100644 --- a/app/views/devise/sessions/new.html.haml +++ b/app/views/devise/sessions/new.html.haml @@ -12,4 +12,5 @@ = f.submit "Sign in" - = render "devise/shared/links" \ No newline at end of file + = render "devise/shared/links" += render "shared/links" diff --git a/app/views/devise/unlocks/new.html.haml b/app/views/devise/unlocks/new.html.haml index 487ca679..32283326 100644 --- a/app/views/devise/unlocks/new.html.haml +++ b/app/views/devise/unlocks/new.html.haml @@ -1,12 +1,13 @@ .container %h1 Resend unlock instructions - = render 'layouts/messages' + = render 'layouts/messages' - = bootstrap_form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| - = devise_error_messages! - - = f.email_field :email, autofocus: true, label: "Email address" - - = f.submit "Resend unlock instructions" - - = render "devise/shared/links" \ No newline at end of file + = bootstrap_form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| + = devise_error_messages! + + = f.email_field :email, autofocus: true, label: "Email address" + + = f.submit "Resend unlock instructions" + + = render "devise/shared/links" += render "shared/links"