Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Checkbox for schema editor
<% Resource checkboxResource = formResourceManager.getCheckboxFieldResource(resource); %>
<li class="field" data-fieldtype="checkbox">
<div class="formbuilder-template-title"><coral-icon icon="select" size="M"></coral-icon><span><%= i18n.get("Checkbox") %></span></div>
<script class="field-properties" type="text/x-handlebars-template">
<sling:include resource="<%= checkboxResource %>"
resourceType="dam/gui/coral/components/admin/schemaforms/formbuilder/formfields/checkboxfield" />
</script>
</li>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.