Skip to content

Commit

Permalink
Use pointer cursor for destroy btn
Browse files Browse the repository at this point in the history
  • Loading branch information
ahangarha committed Oct 10, 2023
1 parent f7598b0 commit a315ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/comments/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<td class="flex flex-col lg:flex-row gap-2">
<%= link_to 'Show', comment %>
<%= link_to 'Edit', edit_comment_path(comment) %>
<%= button_to 'Destroy', comment, method: :delete, data: { turbo_confirm: 'Are you sure?' }, class: "text-red-500" %>
<%= button_to 'Destroy', comment, method: :delete, data: { turbo_confirm: 'Are you sure?' }, class: "text-red-500 cursor-pointer" %>
</td>
</tr>
<% end %>
Expand Down

0 comments on commit a315ca2

Please sign in to comment.