added shared links to devise views

This commit is contained in:
nilsding 2014-11-25 13:58:20 +01:00
parent e0c63e3099
commit b0b19dd3e2
7 changed files with 21 additions and 14 deletions

View file

@ -6,4 +6,5 @@
= f.email_field :screen_name, autofocus: true, label: "User name"
= f.submit "Resend confirmation instructions"
= render "devise/shared/links"
= render "devise/shared/links"
= render "shared/links"

View file

@ -10,4 +10,5 @@
= f.submit "Change my password"
= render "devise/shared/links"
= render "devise/shared/links"
= render "shared/links"

View file

@ -6,4 +6,5 @@
= f.text_field :screen_name, autofocus: true, "User name"
= f.submit "Send me reset password instructions"
= render "devise/shared/links"
= render "devise/shared/links"
= render "shared/links"

View file

@ -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
= link_to "Back", :back
= render 'shared/links'

View file

@ -13,3 +13,4 @@
= f.submit "Sign up"
= render "devise/shared/links"
= render 'shared/links'

View file

@ -12,4 +12,5 @@
= f.submit "Sign in"
= render "devise/shared/links"
= render "devise/shared/links"
= render "shared/links"

View file

@ -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"
= 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"