Use a table for tags

Fixes #595
This commit is contained in:
John Firebaugh 2013-12-03 14:07:33 -08:00 committed by Tom Hughes
parent cc4bca22b0
commit a6fb1ead5b
3 changed files with 10 additions and 10 deletions

View file

@ -1,4 +1,4 @@
<li class='clearfix'>
<span class='browse-tag-k'><%= format_key(tag[0]) %></span>
<span class='browse-tag-v'><%= format_value(tag[0], tag[1]) %></span>
</li>
<tr>
<th class='browse-tag-k'><%= format_key(tag[0]) %></th>
<td class='browse-tag-v'><%= format_value(tag[0], tag[1]) %></td>
</tr>

View file

@ -1,6 +1,6 @@
<% unless tag_details.empty? %>
<h4><%= t 'browse.tag_details.tags' %></h4>
<ul class='browse-tag-list'>
<table class='browse-tag-list'>
<%= render :partial => "tag", :collection => tag_details.sort %>
</ul>
</table>
<% end %>