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 360e3c0224e6b3dfa9b6ac3223426e7b69b27dea..3fddcf14c0e12508df5fa7323a3b7861328da9d1 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