]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/trace/view.html.erb
Don't show http-only routers to users on https
[rails.git] / app / views / trace / view.html.erb
index 0887e56051348a5295dc3b5299932eb4d56c6c79..cbe6c1628e928ea701d6a5a82a65d50cb736f3ad 100644 (file)
 <br /><br />
 
 <%= if_user(@trace.user) do %>
-  <table>
-    <tr>
-      <td><%= button_to t('trace.view.edit_track'), :controller => 'trace', :action => 'edit', :id => @trace.id %></td>
-      <td><%= button_to t('trace.view.delete_track'), :controller => 'trace', :action => 'delete', :id => @trace.id %></td>
-    </tr>
-  </table>
+  <div class="buttons">
+    <%= button_to t('trace.view.edit_track'), :controller => 'trace', :action => 'edit', :id => @trace.id %>
+    <%= button_to t('trace.view.delete_track'), :controller => 'trace', :action => 'delete', :id => @trace.id %>
+  </div>
 <% end %>