Make supplier signup working as expected

This commit is contained in:
2013-12-22 12:30:22 +01:00
parent c6f790eccd
commit ff10d9360b
8 changed files with 45 additions and 13 deletions
@@ -1,12 +0,0 @@
<h2>Struur opnieuw bevestigingsinstructies</h2>
<%= form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post }) do |f| %>
<%= devise_error_messages! %>
<div><%= f.label :email %><br />
<%= f.email_field :email %></div>
<div><%= f.submit "Stuur opnieuw bevestigingsinstructies" %></div>
<% end %>
<%= render "links" %>
@@ -0,0 +1,12 @@
h2= t('devise.confirmations.title')
= form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), html: { method: :post, 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.confirmations.submit_text'), class: 'btn-primary'
= render "links"