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