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