Eliminate duplication of tag printing logic.

This commit is contained in:
Tom Hughes 2009-04-08 23:19:41 +00:00
parent 7daa4f5d2b
commit b02c873c0e
3 changed files with 12 additions and 25 deletions

View file

@ -20,13 +20,4 @@
<td><%= link_to common_details.changeset_id, :action => :changeset, :id => common_details.changeset_id %></td>
</tr>
<% unless common_details.tags_as_hash.empty? %>
<tr valign="top">
<th>Tags:</th>
<td>
<table padding="0">
<%= render :partial => "tag", :collection => common_details.tags_as_hash %>
</table>
</td>
</tr>
<% end %>
<%= render :partial => "tag_details", :object => common_details %>