metamaps--metamaps/views/users/registrations/new.html.erb

30 lines
1 KiB
Text
Raw Normal View History

2018-03-04 02:25:42 +00:00
{ content_for :title, "Sign Up | Metamaps" }
{ content_for :mobile_title, "Join" }
2014-08-12 15:09:53 +00:00
<div id="yield">
2018-03-05 17:33:16 +00:00
{ form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :post, :className => "new_user centerGreyForm" }) do |f| }
<h3>Sign Up</h3>
2013-07-10 18:02:38 +00:00
2018-03-05 17:33:16 +00:00
<div>{ f.label :name, "Name:", :className => "firstFieldText" }
2018-03-04 02:25:42 +00:00
{ f.text_field :name, :autofocus => true }</div>
2018-03-05 17:33:16 +00:00
<div>{ f.label :email, "Email:", :className => "fieldText" }
2018-03-04 02:25:42 +00:00
{ f.email_field :email }</div>
2013-07-10 18:02:38 +00:00
2018-03-05 17:33:16 +00:00
<div>{ f.label :password, "Password:", :className => "fieldText" }
2018-03-04 02:25:42 +00:00
{ f.password_field :password }</div>
2013-07-10 18:02:38 +00:00
2018-03-05 17:33:16 +00:00
<div>{ f.label :password_confirmation, "Password Confirmation:", :className => "fieldText" }
2018-03-04 02:25:42 +00:00
{ f.password_field :password_confirmation }</div>
2018-03-05 17:33:16 +00:00
<div>{ f.label "Access Code:", :className => "fieldText" }
2018-03-04 02:25:42 +00:00
{ f.text_field :joinedwithcode, :value => params[:code] }</div>
2013-07-10 18:02:38 +00:00
2018-03-04 02:25:42 +00:00
<div>{ f.submit "Sign up!" }</div>
2018-03-05 17:33:16 +00:00
<div className = "smallText"><br />Don't have an access code?<br /><a href="/request">Request an Invite</a></div>
2018-03-04 02:25:42 +00:00
{ end }
2014-08-12 15:09:53 +00:00
</div>