Skip to content

Commit ea120a4

Browse files
committed
Explicitly opt-in Turbo for data-turbo-confirm in this form
this re-enables the confirmation dialog when posting a public comment which was introduced via ed89085, but used not to be working since f69a753
1 parent be6e236 commit ea120a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/proposals/_comments.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
.text
1111
=markdown(comment.body)
1212

13-
= form_for comments.new do |f|
13+
= form_for comments.new, html: {data: {turbo: true}} do |f|
1414
= f.hidden_field :proposal_id
1515
.form-group
1616
- if internal?(f.object)

0 commit comments

Comments
 (0)