show tags in places

This commit is contained in:
Roscoe 2026-01-30 02:21:01 +00:00
commit 47c71a3935
Signed by: RoscoeDaWah
SSH key fingerprint: SHA256:Hqn452XQ1ETzUt/FthJu6+OFkS4NBxCv5VQSEvuk7CE
2 changed files with 30 additions and 12 deletions

View file

@ -10,6 +10,7 @@
<th>Category</th>
<th>Updated at</th>
<th>Created at</th>
<th>Tags</th>
</tr>
<% @clips.each do |clip| %>
<tr>
@ -31,6 +32,11 @@
<td>
<%= clip.created_at %>
</td>
<td>
<% clip.tags.each_with_index do |tag, index| %>
<%= link_to tag.name, tag_path(tag) %><% if index < clip.tags.size - 1 %>, <% end %>
<% end %>
</td>
</tr>
<% end %>
</table>
</table>