From ea120a43fda1d6cf2154b7e124f64d8e690f8426 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Sun, 5 Apr 2026 23:10:39 +0900 Subject: [PATCH] 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 ed8908509a4b987cf9fd5bf61a65d8f9c7a7ceb2, but used not to be working since f69a753cf5d1f2effe64666c3e18647ffb33995f --- app/views/proposals/_comments.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/proposals/_comments.html.haml b/app/views/proposals/_comments.html.haml index 8cb9d5e21..2461b1919 100644 --- a/app/views/proposals/_comments.html.haml +++ b/app/views/proposals/_comments.html.haml @@ -10,7 +10,7 @@ .text =markdown(comment.body) -= form_for comments.new do |f| += form_for comments.new, html: {data: {turbo: true}} do |f| = f.hidden_field :proposal_id .form-group - if internal?(f.object)