Better sign up and sign in

This commit is contained in:
2014-09-29 16:11:59 +02:00
parent 7e34e47a99
commit 3b5651de47
9 changed files with 60 additions and 30 deletions
@@ -1,9 +1,6 @@
h2= t('devise.registrations.title')
p
|
Leuk dat je je wilt aanmelden voor Qwaiter. Na de aanmelding zal er een bevestigings e-mail worden gestuurd
om het e-mailadres te bevestigen. Hierna kan je aan de slag met mobiel bestellen!
= form_for(resource, :as => resource_name, :url => registration_path(resource_name), html: {class: 'form-horizontal'}) do |f|
p=raw t('supplier.sign_up.header')
= form_for(resource, :as => resource_name, :url => registration_path(resource_name), html: {class: 'form-horizontal'}) do |f|
= devise_error_messages!
.control-group
= f.row :name do
@@ -18,5 +15,5 @@ p
= f.row :password_confirmation do
.form-label= f.label :password_confirmation, class: 'control-label'
.form-field= f.password_field :password_confirmation
.form-row.form-actions= f.submit t('devise.registrations.button'), class: 'button'
.form-row.form-actions= f.submit t('supplier.sign_up.button'), class: 'button'
= render "links"