19 lines
383 B
Plaintext
19 lines
383 B
Plaintext
<% unless comment.archived? %>
|
|
<p>
|
|
<strong>Commenter:</strong>
|
|
<%= comment.commenter %>
|
|
</p>
|
|
|
|
<p>
|
|
<strong>Comment:</strong>
|
|
<%= comment.body %>
|
|
</p>
|
|
|
|
<p>
|
|
<%= link_to "Destroy Comment", [comment.article, comment], data: {
|
|
turbo_method: :delete,
|
|
turbo_confirm: "Are you sure?"
|
|
} %>
|
|
</p>
|
|
<% end %>
|