]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/redactions/show.html.erb
Disable the "add note" button in database offline mode
[rails.git] / app / views / redactions / show.html.erb
index 2404df734e3fb78ab213bf915faecddabcf025de..174fe97e4f60559a02c57509d997b4c375a53591 100644 (file)
 </p>
 
 <% if @user and @user.moderator? %>
-<table>
-<tr>
-<td><%= button_to t('redaction.show.edit'), edit_redaction_path(@redaction), :method => :get %></td>
-<td><%= button_to t('redaction.show.destroy'), @redaction, :method => "delete", :remote => true, :data => { :confirm => t('redaction.show.confirm') } %></td>
-</tr>
-</table>
+<div class="buttons">  
+  <%= button_to t('redaction.show.edit'), edit_redaction_path(@redaction), :method => :get %></td>
+  <%= button_to t('redaction.show.destroy'), @redaction, :method => "delete", :remote => true, :data => { :confirm => t('redaction.show.confirm') } %>
+</div>
 <% end %>