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.email_field :screen_name, autofocus: true, label: "User name"
= f.submit "Resend confirmation instructions" = 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" = 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.text_field :screen_name, autofocus: true, "User name"
= f.submit "Send me reset password instructions" = 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 %p
=button_to "Delete my account", registration_path(resource_name), data: { confirm: "Are you sure?" }, method: :delete, class: "btn btn-danger btn-sm" =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" = f.submit "Sign up"
= render "devise/shared/links" = render "devise/shared/links"
= render 'shared/links'

View File

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

View File

@ -1,12 +1,13 @@
.container .container
%h1 Resend unlock instructions %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| = bootstrap_form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f|
= devise_error_messages! = devise_error_messages!
= f.email_field :email, autofocus: true, label: "Email address" = f.email_field :email, autofocus: true, label: "Email address"
= f.submit "Resend unlock instructions" = f.submit "Resend unlock instructions"
= render "devise/shared/links" = render "devise/shared/links"
= render "shared/links"