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 3fddcf14c0e12508df5fa7323a3b7861328da9d1..360e3c0224e6b3dfa9b6ac3223426e7b69b27dea 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 diff --git a/app/views/admin/communication/blocks/templates/call_to_action/_static.html.erb b/app/views/admin/communication/blocks/templates/call_to_action/_static.html.erb index bee54b56b75105cf2e0f55a44a19f8b79cfd4497..7fedc45db75995191349ecb801e24e0fd0017bd6 100644 --- a/app/views/admin/communication/blocks/templates/call_to_action/_static.html.erb +++ b/app/views/admin/communication/blocks/templates/call_to_action/_static.html.erb @@ -2,7 +2,7 @@ <%= block_component_static :image %> <%= block_component_static :alt %> <%= block_component_static :credit %> - buttons: >- + buttons: <% block.template.elements.each do |element| %> <%= block_component_static :title, template: element, depth: 4, list: true %> <%= block_component_static :url, template: element, depth: 5 %>