metamaps--metamaps/app/views/users/registrations/new.html.erb
2017-10-16 18:40:48 -04:00

28 lines
991 B
Text

<% content_for :title, "Sign Up | Metamaps" %>
<% content_for :mobile_title, "Join" %>
<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 class="fieldText">
Only email addresses at the uts.edu.au domain name will be able to register.
All users must verify their email address.
</div>
<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.submit "Sign up" %></div>
<% end %>
</div>