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

30 lines
866 B
Text
Raw 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| %>
2013-07-10 18:02:38 +00:00
<%= devise_error_messages! %>
<h3>Sign Up</h3>
2013-07-10 18:02:38 +00:00
<div><%= f.label :name %>
<%= f.text_field :name, :autofocus => true %></div>
<div><%= f.label :email %>
<%= f.email_field :email %></div>
2013-07-10 18:02:38 +00:00
<div><%= f.label :password %>
2013-07-10 18:02:38 +00:00
<%= f.password_field :password %></div>
<div><%= f.label :password_confirmation %>
2013-07-10 18:02:38 +00:00
<%= f.password_field :password_confirmation %></div>
<div><%= f.label "Access Code" %>
<%= f.text_field :joinedwithcode %></div>
2013-07-10 18:02:38 +00:00
<div><%= f.submit "Sign up" %></div>
2014-08-12 15:09:53 +00:00
<div><br />Don't have an access code?<br /><a href="/request" data-bypass="true">Request an Invite</a></div>
2013-07-10 18:02:38 +00:00
<% end %>
2014-08-12 15:09:53 +00:00
</div>