<% if defined?(idx) %> <%= I18n.t('comments.title') %> #<%= idx + 1 %> <% else %> <%= I18n.t('comments.title') %> <%= I18n.t('general.in') %> <%= link_to title_to_html(title: comment.thing.title), thing_path(comment.thing) %> <% end %>
<% if defined?(from) %> <%= I18n.t('general.edit').capitalize %> <%= link_to I18n.t('general.delete').capitalize, thing_comment_path(comment.thing, comment, from: from), data: { "turbo-method": :delete }, title: I18n.t('comments.delete-title'), class: 'delete-comment' %> <% end %>
<%= comment.content %>
<% if comment.tag_references.any? %> <% end %> <% if defined?(from) %> <% end %>