Add styling to passwords and confirmations
This commit is contained in:
parent
28143a8cce
commit
30831ce718
7 changed files with 72 additions and 25 deletions
14
app/views/devise/passwords/new.html.haml
Normal file
14
app/views/devise/passwords/new.html.haml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
.container
|
||||
.row
|
||||
.col-md-6.col-md-offset-3
|
||||
.panel.panel-default
|
||||
.panel-heading
|
||||
%h3.panel-title
|
||||
Forgot your password?
|
||||
.panel-body
|
||||
= semantic_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
|
||||
= f.input :email, input_html: { autofocus: true, required: true}
|
||||
%p.text-right
|
||||
= f.action :submit, as: :button, label: 'Send me reset password instructions', button_html: { class: 'btn btn-success' }
|
||||
|
||||
= render partial: 'devise/shared/help'
|
||||
Loading…
Add table
Add a link
Reference in a new issue