From e209fb98f2b93ec4c0d5478230d3ac6039a83a07 Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Tue, 21 Jun 2022 09:35:33 +0200 Subject: [PATCH] checkbox --- .../communication/blocks/components/boolean/_edit.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/communication/blocks/components/boolean/_edit.html.erb b/app/views/admin/communication/blocks/components/boolean/_edit.html.erb index 360e3c022..3fddcf14c 100644 --- a/app/views/admin/communication/blocks/components/boolean/_edit.html.erb +++ b/app/views/admin/communication/blocks/components/boolean/_edit.html.erb @@ -1,9 +1,9 @@ <div class="form-check"> - <input :id="<%= dom_id.html_safe %>" + <input :id="'<%= dom_id.html_safe %>'" class="form-check-input" v-model="<%= model %>.<%= property %>" type="checkbox" /> - <label class="form-label" aria-label="<%= label %>" :for="<%= dom_id.html_safe %>"> + <label class="form-label" aria-label="<%= label %>" :for="'<%= dom_id.html_safe %>'"> <%= label %> </label> </div> \ No newline at end of file -- GitLab