fixes #75: History tags dont have a revert function

This commit is contained in:
albert
2011-09-15 18:57:50 -04:00
parent eddf35556a
commit ba4052e831
3 changed files with 10 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
<div class="listing">
<table>
<table class="striped">
<thead>
<tr>
<th width="5%">Post</th>
@@ -8,7 +8,8 @@
<th width="5%">Rating</th>
<th width="5%">Parent</th>
<th width="10%">IP Address</th>
<th width="50%">Tags</th>
<th width="45%">Tags</th>
<th width="5%"></th>
</tr>
</thead>
<tbody>
@@ -33,6 +34,9 @@
<del><%= tag %></del>
<% end %>
</td>
<td>
<%= link_to "Revert", revert_post_path(post_version.post_id, :version_id => post_version.id), :method => :put, :remote => true %>
</td>
</tr>
<% end %>
</tbody>