metamaps--metamaps/views/users/registrations/new.html.erb
2018-03-05 12:43:11 -05:00

29 lines
985 B
Text

<div id="yield">
{ form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :post, :className => "new_user centerGreyForm" }) do |f| }
<h3>Sign Up</h3>
<div>{ f.label :name, "Name:", :className => "firstFieldText" }
{ f.text_field :name, :autofocus => true }</div>
<div>{ f.label :email, "Email:", :className => "fieldText" }
{ f.email_field :email }</div>
<div>{ f.label :password, "Password:", :className => "fieldText" }
{ f.password_field :password }</div>
<div>{ f.label :password_confirmation, "Password Confirmation:", :className => "fieldText" }
{ f.password_field :password_confirmation }</div>
<div>{ f.label "Access Code:", :className => "fieldText" }
{ f.text_field :joinedwithcode, :value => params[:code] }</div>
<div>{ f.submit "Sign up!" }</div>
<div className = "smallText"><br />Don't have an access code?<br /><a href="/request">Request an Invite</a></div>
{ end }
</div>