]> git.openstreetmap.org Git - rails.git/blob - app/views/user/new.rhtml
823dccf520db76dd0a2032bd93ad6f568ed7cb64
[rails.git] / app / views / user / new.rhtml
1 <h1>Create a User Account</h1>
2
3 <% if Acl.find_by_address(request.remote_ip, :conditions => {:k => "no_account_creation"}) %>
4
5 <p>Unfortunately we are not currently able to create an account for
6    you automatically.
7 </p>
8
9 <p>Please contact the <a href="mailto:webmaster@openstreetmap.org">webmaster</a>
10    to arrange for an account to be created - we will try and deal with
11    the request as quickly as possible. 
12 </p>
13
14 <% else %>
15
16 <p>Fill in the form and we'll send you a quick email to activate your
17    account.
18 </p>
19
20 <p>By creating an account, you agree that all work uploaded to
21    openstreetmap.org and all data created by use of any tools which
22    connect to openstreetmap.org is to be (non-exclusively) licensed under
23    <a href="http://creativecommons.org/licenses/by-sa/2.0/">this Creative
24    Commons license (by-sa)</a>.
25 </p>
26
27 <%= error_messages_for 'user' %>
28
29 <% form_tag :action => 'save' do %>
30 <table id="loginForm">
31   <tr><td class="fieldName">Email Address : </td><td><%= text_field('user', 'email',{:size => 50, :maxlength => 255}) %></td></tr>
32   <tr><td class="fieldName">Confirm Email Address : </td><td><%= text_field('user', 'email_confirmation',{:size => 50, :maxlength => 255}) %></td></tr>
33   <tr><td></td><td><span class="minorNote">Not displayed publicly (see <a href="http://wiki.openstreetmap.org/index.php/Privacy_Policy" title="wiki privacy policy including section on email addresses">privacy policy)</span></td></tr>
34   <tr><td colspan=2>&nbsp;<!--vertical spacer--></td></tr>
35   <tr><td class="fieldName">Display Name : </td><td><%= text_field('user', 'display_name',{:size => 30, :maxlength => 255}) %></td></tr>
36   <tr><td colspan=2>&nbsp;<!--vertical spacer--></td></tr>
37   <tr><td class="fieldName">Password : </td><td><%= password_field('user', 'pass_crypt',{:size => 30, :maxlength => 255}) %></td></tr>
38   <tr><td class="fieldName">Confirm Password : </td><td><%= password_field('user', 'pass_crypt_confirmation',{:size => 30, :maxlength => 255}) %></td></tr>
39   
40   <tr><td colspan=2>&nbsp;<!--vertical spacer--></td></tr>
41   <tr><td></td><td align=right><input type="submit" value="Signup"></td></tr>
42 </table>
43 <% end %>
44
45 <% end %>