<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :post, :class => "new_user centerGreyForm" }) do |f| %>
<%= devise_error_messages! %>
Sign Up
<%= f.label :name, "Name:", :class => "firstFieldText" %>
<%= f.text_field :name, :autofocus => true %>
<%= f.label :email, "Email:", :class => "fieldText" %>
<%= f.email_field :email %>
<%= f.label :password, "Password:", :class => "fieldText" %>
<%= f.password_field :password %>
<%= f.label :password_confirmation, "Password Confirmation:", :class => "fieldText" %>
<%= f.password_field :password_confirmation %>
<%= f.label "Access Code:", :class => "fieldText" %>
<%= f.text_field :joinedwithcode %>
<%= f.submit "Sign up!" %>
<% end %>