Files
sure/app
Guillem Arias 686894bd82 refactor(modules): drop redundant hidden_field_tag in preferences view
DS::Toggle already renders its own `hidden_field_tag name, unchecked_value,
id: nil` (app/components/DS/toggle.html.erb:2), so the explicit one I
added was duplicating the unchecked-value field — and was the root cause
of the ID collision the prior commit worked around with `id: nil`.

Removing the redundant line is the correct fix; live-tested via
Playwright (toggle persists, off-state arrives as "0" through the
DS-provided hidden).
2026-05-22 15:29:41 +02:00
..
2026-03-25 10:50:23 +01:00