Basic site flow improvements and devise handling

This commit is contained in:
2014-07-16 11:20:11 +02:00
parent de298a529b
commit a302123c6b
20 changed files with 134 additions and 85 deletions
+4 -6
View File
@@ -1,10 +1,8 @@
h2= t('devise.passwords.title')
= form_for(resource, :as => resource_name, :url => password_path(resource_name), html: {class: 'form-horizontal'}) do |f|
= devise_error_messages!
.control-group
= f.label :email, class: 'control-label'
.controls= f.email_field :email
.control-group
.controls
= f.submit t('devise.passwords.button'), class: 'btn btn-primary'
= f.row :email do
.form-label= f.label :email, class: 'control-label'
.form-field= f.email_field :email
.form-row.form-actions= f.submit t('devise.passwords.button'), class: 'button'
= render "links"