User details

id<%= @user.id %>
email<%= @user.email %>
display name<%= @user.display_name %> (<%= link_to 'change...', :controller => 'user', :action => 'edit' %>)
account created<%= @user.creation_time %> (<%= time_ago_in_words(@user.creation_time) %> ago)
user homeLatitude: <%=@user.home_lat%> Longitude <%=@user.home_lon%> (<%= link_to 'change...', :controller => 'user', :action => 'edit' %>)
description<%= simple_format(@user.description) %> (<%= link_to 'change...', :controller => 'user', :action => 'edit' %>)

Users in your area

<% if @user.nearby.empty? %> There are no users mapping in your area. Better go out and spread the word about OSM! <% else %>

These users are mapping in your area:

<% @user.nearby(1,1).each do |nearby| %> <%end%>
Email Name Contact
<%= nearby.email %> <%= nearby.display_name %> FIXME: send user an email
<%end%>
FIXME: OL Map showing the users on

Privacy

<% if @user.data_public? %> All your edits are public. <% else %> 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.

<%= start_form_tag :controller => 'user', :action => 'go_public'%> <%= submit_tag 'Make all my edits public, forever' %> <%= end_form_tag %> <% end %>