Skip to content

Commit

Permalink
Add unique id to flag checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniBitZesty committed Aug 31, 2023
1 parent 9f7c371 commit 4eb5774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/admin/form_answers/_comment.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
authenticity_token: true) do |f|

label.if-js-hide Flag
= f.check_box :flagged, class: "flag-comment-checkbox if-js-hide"
= f.check_box :flagged, class: "flag-comment-checkbox if-js-hide", id: "flag-comment-#{comment.id}"
.comment-action
= l comment.created_at, format: :date_at_time
span.divider
Expand Down

0 comments on commit 4eb5774

Please sign in to comment.