tags: refactor tag lists to use ViewComponent.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<%= post_preview(vote.post, show_deleted: true) %>
|
||||
<% end %>
|
||||
<% t.column "Tags", td: {class: "col-expand"} do |vote| %>
|
||||
<%= TagSetPresenter.new(vote.post.tag_array).inline_tag_list_html %>
|
||||
<%= render_inline_tag_list(vote.post) %>
|
||||
<% end %>
|
||||
<% t.column "Score" do |vote| %>
|
||||
<%= link_to sprintf("%+d", vote.score), post_votes_path(search: { score: vote.score }) %>
|
||||
|
||||
Reference in New Issue
Block a user