aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2007-10-04 12:05:12 +0000
committerfrancis <francis>2007-10-04 12:05:12 +0000
commit60d134efacbb5728fb01560fadb0c06f67ef7795 (patch)
treed5fa0e2d12ef185fadc742d8bd9d19ebe9619053
parent8a1187cce34a2310bb5fab0c35c38591ae39a282 (diff)
Forgot this.
-rw-r--r--app/views/user_accounts/signup.rhtml44
1 files changed, 44 insertions, 0 deletions
diff --git a/app/views/user_accounts/signup.rhtml b/app/views/user_accounts/signup.rhtml
new file mode 100644
index 000000000..6cc186c1e
--- /dev/null
+++ b/app/views/user_accounts/signup.rhtml
@@ -0,0 +1,44 @@
+<%= foi_error_messages_for :user %>
+
+<% form_tag({:action => "signup"}, {:id => "accountForm"}) do %>
+ <h2>Create a new account</h2>
+
+ <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>
+
+ <p>
+ <label for="submit">&nbsp;</label>
+ <%= submit_tag "Sign in" %>
+ </p>
+
+<% end %>
+