Skip to content

Instantly share code, notes, and snippets.

Last active March 24, 2018 05:53
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" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment