2012-02-22 06:43:24 +00:00
|
|
|
<h2>Sign up</h2>
|
|
|
|
|
|
|
|
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
|
|
|
|
<%= devise_error_messages! %>
|
|
|
|
|
2013-11-25 09:03:28 +00:00
|
|
|
<div><%= f.label :email %><br />
|
2012-02-22 06:43:24 +00:00
|
|
|
<%= f.email_field :email %></div>
|
2013-11-25 09:03:28 +00:00
|
|
|
|
2013-11-25 04:41:32 +00:00
|
|
|
<div><%= f.label "Username" %><br />
|
2013-11-25 09:03:28 +00:00
|
|
|
<%= f.text_field :user_id %></div>
|
2012-02-22 06:43:24 +00:00
|
|
|
|
|
|
|
<div><%= f.label :password %><br />
|
|
|
|
<%= f.password_field :password %></div>
|
|
|
|
|
|
|
|
<div><%= f.label :password_confirmation %><br />
|
|
|
|
<%= f.password_field :password_confirmation %></div>
|
|
|
|
|
|
|
|
<div><%= f.submit "Sign up" %></div>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<%= render :partial => "devise/shared/links" %>
|