From 7ef038305966513127c572e8eca6bcde5efb4601 Mon Sep 17 00:00:00 2001 From: Marcelo Paiva Date: Wed, 25 Feb 2026 22:45:25 -0500 Subject: [PATCH] Fix BetterHtml::DontInterpolateHere in _turbo_modal_large partial Replace raw string interpolation of aria-labelledby in the turbo-modal tag with html_attributes() helper to satisfy BetterHtml security linter. Co-Authored-By: Claude Sonnet 4.6 --- app/views/shared/_turbo_modal_large.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shared/_turbo_modal_large.html.erb b/app/views/shared/_turbo_modal_large.html.erb index f48f520f..75b770ec 100644 --- a/app/views/shared/_turbo_modal_large.html.erb +++ b/app/views/shared/_turbo_modal_large.html.erb @@ -1,6 +1,6 @@ <% modal_title_id = "modal_title_#{SecureRandom.hex(4)}" %> - > + >
<% if local_assigns[:title] %>