blob: d4d13277feafe74547317f59e8a3199b4f2ae759 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
<%= 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 in" %>
</div>
<% end %>
|