]> git.openstreetmap.org Git - rails.git/blob - app/views/user/new.rhtml
Require libxml 1.1.1 to fix seg faults.
[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>
31   <tr><td>Email Address</td><td><%= text_field('user', 'email',{:size => 50, :maxlength => 255}) %></td></tr>
32   <tr><td>Confirm Email Address</td><td><%= text_field('user', 'email_confirmation',{:size => 50, :maxlength => 255}) %></td></tr>
33   <tr><td>Display Name</td><td><%= text_field('user', 'display_name',{:size => 50, :maxlength => 255}) %></td></tr>
34   <tr><td>Password</td><td><%= password_field('user', 'pass_crypt',{:size => 50, :maxlength => 255}) %></td></tr>
35   <tr><td>Confirm Password</td><td><%= password_field('user', 'pass_crypt_confirmation',{:size => 50, :maxlength => 255}) %></td></tr>
36 </table>
37 <br>
38 <br>
39 <input type="submit" value="Signup">
40
41 <% end %>
42
43 <% end %>