blob: c23f76d602819c51e04e2b6cb0c734f6df988e2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<h1> Sign Up </h1>
<%= form_for @user do |f| %>
<%= render "common/error_messages", :target => @user %>
<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.password_field :password %>
</p>
<p>
<%= f.label(:password_confirmation, "Confirm Password") %><br>
<%= f.password_field :password_confirmation %>
</p>
<p>
<%= f.submit("Be a Leaguer", :class => "signup") %>
</p>
<% end %>
<%= link_to 'Already Have an Account? Log in', new_session_path, :class => "signin" %>
|