Sign up
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %> <%= devise_error_messages! %>- <%= f.text_field :firstname %>
- <%= f.text_field :lastname %>
- <%= f.text_field :email %> <% if @user.password_required? %>
- <%= f.password_field :password %>
- <%= f.password_field :password_confirmation %> <% end %>
Email Confirmation: You will receive an email with instructions about how to confirm your account shortly after signing up.
<%= f.submit "Sign up" %>
<%= render :partial => "devise/shared/links" %> <% end %>