]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/account.html.erb
Use the small PanZoom control on the user map instead of the
[rails.git] / app / views / user / account.html.erb
index 7286f552ee8a9a44f62016ec8227fe5793adf0d8..13e8a75643f623b28ea17c8000123324ede2a4bd 100644 (file)
@@ -55,7 +55,7 @@
     <td valign="top">
       <% if @user.image.nil? %>
         <%= hidden_field_tag "image_action", "new" %>
-        <%= t 'user.account.new image' %> <span class="minorNote"><%= t 'user.account.image size hint' %></span><br /><%= file_column_field "user", "image" %>
+        <%= t 'user.account.new image' %><br /><%= file_column_field "user", "image" %><br /><span class="minorNote"><%= t 'user.account.image size hint' %></span>
       <% else %>
         <table id="accountImage">
           <tr>
@@ -69,7 +69,7 @@
           </tr>
           <tr>
             <td><%= radio_button_tag "image_action", "new" %></td>
-            <td><%= t 'user.account.replace image' %> <span class="minorNote"><%= t 'user.account.image size hint' %></span><br /><%= file_column_field "user", "image", :onchange => "$('image_action_new').checked = true" %></td>
+            <td><%= t 'user.account.replace image' %><br /><%= file_column_field "user", "image", :onchange => "$('image_action_new').checked = true" %><br /><span class="minorNote"><%= t 'user.account.image size hint' %></span></td>
           </tr>
         </table>
       <% end %>
@@ -85,7 +85,7 @@
     <td></td>
     <td>
       <p><%= t 'user.account.update home location on click' %> <input type="checkbox" value="1" <% unless @user.home_lat and @user.home_lon %> checked="checked" <% end %> id="updatehome" /> </p>
-      <div id="map" style="border:1px solid black; position:relative; width:500px; height:400px;"></div>
+      <div id="map" class="user_map" style="border:1px solid black; position:relative; width:500px; height:400px;"></div>
     </td>
   </tr>