]> git.openstreetmap.org Git - rails.git/blob - app/views/user/new.rhtml
Pass the to_user to the view. Tests may follow. Closes #1394
[rails.git] / app / views / user / new.rhtml
1 <h1>Create a user account</h1><br>
2 Fill in the form and we'll send you a quick email to activate your account.
3 <br><br>
4
5 By creating an account, you agree that all work uploaded to openstreetmap.org and all data created by use of any tools which connect to openstreetmap.org is to be (non-exclusively) licensed under <a href="http://creativecommons.org/licenses/by-sa/2.0/">this Creative Commons license (by-sa)</a>.<br><br>
6
7 <%= error_messages_for 'user' %>
8
9 <% form_tag :action => 'save' do %>
10 <table id="loginForm">
11   <tr><td class="fieldName">Email Address : </td><td><%= text_field('user', 'email',{:size => 50, :maxlength => 255}) %></td></tr>
12   <tr><td class="fieldName">Confirm Email Address : </td><td><%= text_field('user', 'email_confirmation',{:size => 50, :maxlength => 255}) %></td></tr>
13   <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>
14   <tr><td colspan=2>&nbsp;<!--vertical spacer--></td></tr>
15   <tr><td class="fieldName">Display Name : </td><td><%= text_field('user', 'display_name',{:size => 30, :maxlength => 255}) %></td></tr>
16   <tr><td colspan=2>&nbsp;<!--vertical spacer--></td></tr>
17   <tr><td class="fieldName">Password : </td><td><%= password_field('user', 'pass_crypt',{:size => 30, :maxlength => 255}) %></td></tr>
18   <tr><td class="fieldName">Confirm Password : </td><td><%= password_field('user', 'pass_crypt_confirmation',{:size => 30, :maxlength => 255}) %></td></tr>
19   
20   <tr><td colspan=2>&nbsp;<!--vertical spacer--></td></tr>
21   <tr><td></td><td align=right><input type="submit" value="Signup"></td></tr>
22 </table>
23 <br>
24 <br>
25 <!--
26 See also <a href="http://wiki.openstreetmap.org/index.php/Creating_an_Account" title="wiki help information about this screen">'Creating an Account' help</a>
27 -->
28 <% end %>