2013-07-10 18:02:38 +00:00
|
|
|
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
|
|
|
|
<%= devise_error_messages! %>
|
2013-07-11 15:13:27 +00:00
|
|
|
|
|
|
|
<h3>Sign up</h3>
|
2013-07-10 18:02:38 +00:00
|
|
|
|
2013-07-11 15:13:27 +00:00
|
|
|
<div><%= f.label :name %>
|
|
|
|
<%= f.text_field :name, :autofocus => true %></div>
|
|
|
|
|
|
|
|
<div><%= f.label :email %>
|
|
|
|
<%= f.email_field :email %></div>
|
2013-07-10 18:02:38 +00:00
|
|
|
|
2013-07-11 15:13:27 +00:00
|
|
|
<div><%= f.label :password %>
|
2013-07-10 18:02:38 +00:00
|
|
|
<%= f.password_field :password %></div>
|
|
|
|
|
2013-07-11 15:13:27 +00:00
|
|
|
<div><%= f.label :password_confirmation %>
|
2013-07-10 18:02:38 +00:00
|
|
|
<%= f.password_field :password_confirmation %></div>
|
2013-07-11 15:13:27 +00:00
|
|
|
|
|
|
|
<div><%= f.label "Access Code" %>
|
|
|
|
<%= f.text_field :joinedwithcode %></div>
|
2013-07-10 18:02:38 +00:00
|
|
|
|
|
|
|
<div><%= f.submit "Sign up" %></div>
|
2013-07-11 15:13:27 +00:00
|
|
|
|
|
|
|
<%= render "devise/shared/links" %>
|
2013-07-10 18:02:38 +00:00
|
|
|
<% end %>
|
|
|
|
|
2013-07-11 15:13:27 +00:00
|
|
|
|