Export to Template: Boolean - How to change the icon and the label
SOLVE
Hello,
I've set an export to template boolean to allow some content to be toggled on/off on a page by page basis.
I am wondering how I can edit the icon used in the content editor - currently it's a "tick" which is quite confusing - as this shows even when it's toggled off.
And how I can change the label used, currently it says "value", it would be easier for my client if this said "On" or something like this.
I cannot see an example in the documentation about the boolean.
Current Code
{% boolean "form_toggle_bookcall" label='Show Book a Call Tab', value=True, export_to_template_context=true %}
Export to Template: Boolean - How to change the icon and the label
SOLVE
@SD_dev You would need to make a clone of the module to be able to change the icon and labels. You can do this in the design manager by finding boolean.module in the @hubspot folder, right clicking, and selecting Clone Module.
If this answer solved your question, please mark it as the solution.