summaryrefslogtreecommitdiff
path: root/app/views/users/new.html.erb
blob: 5c88945109ee703d8384029a55cd8162bb475278 (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
33
34
<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, type: "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>
	<%= show_simple_captcha %>

    <%= f.submit("Be a Leaguer", :class => "signup") %>
  </p>
<% end %>


<%= link_to 'Already Have an Account? Log in', new_session_path, :class => "signin" %>