metamaps--metamaps/app/views/users/new.html.erb
2013-07-10 14:02:38 -04:00

19 lines
593 B
Text

<%#
# @file
# Located at /users/new
# New user form
#%>
<% content_for :title, "Create Account | Metamaps" %>
<%= formula_form_for @user, url: users_url do |form| %>
<h3>Create Account</h3>
<%= form.input :name, label: "Name", class: "name" %>
<%= form.input :email, label: "Email", class: "email" %>
<%= form.input :password, label: "Password", class: "password" %>
<%= form.input :joinedwithcode, label: "Access Code", class: "joinedwithcode" %>
<%= form.submit "Create Account", class: "add" %>
<%= link_to "Sign in", new_session_path("user") %>
<% end %>