diff options
author | Tomer Kimia <tkimia@purdue.edu> | 2014-03-01 20:59:35 -0500 |
---|---|---|
committer | Tomer Kimia <tkimia@purdue.edu> | 2014-03-01 20:59:35 -0500 |
commit | 7d119f1bf59a0b74c212981d52cffb1374701bad (patch) | |
tree | b3424032460175234c2d9113acd1af9be552a4b3 /app/views/users | |
parent | 329bdda6172f119469b36b9930054489e6bd0ded (diff) |
added new user form
Diffstat (limited to 'app/views/users')
-rw-r--r-- | app/views/users/new.html.erb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app/views/users/new.html.erb b/app/views/users/new.html.erb new file mode 100644 index 0000000..418f2e2 --- /dev/null +++ b/app/views/users/new.html.erb @@ -0,0 +1,27 @@ +<h1> Sign Up </h1> + +<%= form_for :user do |f| %> + <p> + <%= f.label :name %><br> + <%= f.text_field :name %> + </p> + <p> + <%= f.label :email %><br> + <%= f.text_field :email %> + </p> + <p> + <%= f.label :user_name %><br> + <%= f.text_field :user_name %> + </p> + <p> + <%= f.label :password %><br> + <%= f.text_field :password %> + </p> + <p> + <%= f.label :password_confirm %><br> + <%= f.text_field :password_confirm %> + </p> + <p> + <%= f.submit %> + </p> +<% end %> |