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

27 lines
925 B
Text
Raw Permalink Normal View History

<% content_for :title, "Sign Up | Metamaps" %>
2014-08-12 15:09:53 +00:00
<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>
2013-07-10 18:02:38 +00:00
<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>
2013-07-10 18:02:38 +00:00
<div><%= f.label :password, "Password:", :class => "fieldText" %>
2013-07-10 18:02:38 +00:00
<%= f.password_field :password %></div>
<div><%= f.label :password_confirmation, "Password Confirmation:", :class => "fieldText" %>
2013-07-10 18:02:38 +00:00
<%= f.password_field :password_confirmation %></div>
<div><%= f.label "Access Code:", :class => "fieldText" %>
<%= f.text_field :joinedwithcode, :value => params[:code] %></div>
2013-07-10 18:02:38 +00:00
<div><%= f.submit "Sign up!" %></div>
2013-07-10 18:02:38 +00:00
<% end %>
2014-08-12 15:09:53 +00:00
</div>