]> git.openstreetmap.org Git - rails.git/blob - app/views/user/account.rhtml
bfa247904c0941d1c0de3f9ff5cecc6453793c28
[rails.git] / app / views / user / account.rhtml
1 <h2>User details</h2>
2 <table>
3   <tr><td>id</td><td><%= @user.id %></td></tr>
4   <tr><td>email</td><td><%= @user.email %></td></tr>
5   <tr><td>display name</td><td><%= @user.display_name %> (<%= link_to 'change...', :controller => 'user', :action => 'rename' %>)</td></tr>
6   <tr><td>account created</td><td><%= @user.creation_time %></td></tr>
7 </table>
8
9 <h2>Privacy</h2>
10 <% if @user.data_public? %>
11   All your edits are public.
12 <% else %>
13   Currently your edits are ananymous and people can't find out where you are located. To show what you edited and allow people to contact you through the website, click the button below. This action cannot be reversed.
14   <br /><br />
15   <%= start_form_tag :controller => 'user', :action => 'go_public'%>
16   <%= submit_tag 'Make all my edits public, forever' %>
17   <%= end_form_tag %>
18 <% end %>