X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0cf6df6d3ab5f153ef57d38cb28a840854792739..71606b34f0fa50ab340c85034f69e7357479b93c:/app/views/user/account.rhtml
diff --git a/app/views/user/account.rhtml b/app/views/user/account.rhtml
index 938d3ea9b..f17a792fb 100644
--- a/app/views/user/account.rhtml
+++ b/app/views/user/account.rhtml
@@ -37,165 +37,70 @@
<% if @user.home_lat and @user.home_lon %>
- <% marker = true %>
- <% mlon = @user.home_lon %>
- <% mlat = @user.home_lat %>
- <% lon = @user.home_lon %>
- <% lat = @user.home_lat %>
- <% zoom = '12' %>
-
+ <% marker = true %>
+ <% mlon = @user.home_lon %>
+ <% mlat = @user.home_lat %>
+ <% lon = @user.home_lon %>
+ <% lat = @user.home_lat %>
+ <% zoom = '12' %>
<% else %>
- <% lon = params['lon'] || '-0.1' %>
- <% lat = params['lat'] || '51.5' %>
- <% zoom = params['zoom'] || '4' %>
+ <% lon = params['lon'] || '-0.1' %>
+ <% lat = params['lat'] || '51.5' %>
+ <% zoom = params['zoom'] || '4' %>
<% end %>
-
-
-
+<%= javascript_include_tag 'map.js' %>