mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 16:39:52 +01:00
added shared links to devise views
This commit is contained in:
parent
e0c63e3099
commit
b0b19dd3e2
7 changed files with 21 additions and 14 deletions
|
@ -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"
|
||||
|
|
|
@ -10,4 +10,5 @@
|
|||
|
||||
= f.submit "Change my password"
|
||||
|
||||
= render "devise/shared/links"
|
||||
= render "devise/shared/links"
|
||||
= render "shared/links"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -13,3 +13,4 @@
|
|||
= f.submit "Sign up"
|
||||
|
||||
= render "devise/shared/links"
|
||||
= render 'shared/links'
|
||||
|
|
|
@ -12,4 +12,5 @@
|
|||
|
||||
= f.submit "Sign in"
|
||||
|
||||
= render "devise/shared/links"
|
||||
= render "devise/shared/links"
|
||||
= render "shared/links"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue