Add styling to passwords and confirmations

This commit is contained in:
Stella Rouzi 2015-04-22 20:40:21 +03:00
parent 28143a8cce
commit 30831ce718
7 changed files with 72 additions and 25 deletions

View file

@ -7,13 +7,13 @@
Sign Up
.panel-body
= semantic_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
= f.input :username, required: true
= f.input :email
= f.input :name, required: true
= f.input :password
= f.input :password_confirmation
= f.input :username, input_html: { required: true }
= f.input :email, input_html: { required: true }
= f.input :name, input_html: { required: true }
= f.input :password, input_html: { required: true }
= f.input :password_confirmation, input_html: { required: true }
%p.text-right
= f.action :submit, as: :button, label: 'Sign Up', button_html: {class: 'btn btn-success' }
= f.action :submit, as: :button, label: 'Sign Up', button_html: { class: 'btn btn-success' }
= render partial: 'devise/shared/openid'
= render partial: 'devise/shared/help'