aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/user/signup.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/user/signup.rhtml')
-rw-r--r--app/views/user/signup.rhtml49
1 files changed, 1 insertions, 48 deletions
diff --git a/app/views/user/signup.rhtml b/app/views/user/signup.rhtml
index fd83174b6..bcade0078 100644
--- a/app/views/user/signup.rhtml
+++ b/app/views/user/signup.rhtml
@@ -1,48 +1 @@
-<%= foi_error_messages_for :user %>
-
-<% form_tag({:action => "signup"}, {:id => "accountForm"}) do %>
- <% if @first_time %>
- <div class="form_note">
- <h1>Register new account</h1>
- </div>
- <% end %>
-
- <p>
- <label for="user_email" id="signin_email"><strong>E-mail:</strong></label>
- <%= text_field 'user', 'email', :size => 20 %>
- </p>
-
- <p>
- <label for="name"><strong>Full name:</strong> e.g. "Jack Bauer"</label>
- <%= text_field 'user', 'name', { :size => 20 } %>
- </p>
-
- <p>
- <label for="password"><strong>Password:</strong></label>
- <%= password_field 'user', 'password', { :size => 15 } %>
- </p>
-
- <p>
- <label for="password"><strong>Password (again):</strong></label>
- <%= password_field 'user', 'password_confirmation', { :size => 15 } %>
- </p>
-
- <div class="form_note">
- <strong>Privacy notes</strong>
- <ul>
- <li>We will not reveal your email address to anybody.
- <li>Your <strong>name will appear publically</strong> on this website and
- in search engines. We encourage you to use your real name, but you may use
- an obvious pseudonym if you would like to be anonymous.
- <li>Any requests you make using the same email will be displayed on the
- site under the same name.
- </ul>
- </div>
-
- <div class="form_button">
- <%= hidden_field_tag 'token', params[:token] %>
- <%= submit_tag "Sign up" %>
- </div>
-
-<% end %>
-
+<%= render :partial => 'signup' %>