JoyFreak
Well-known member
I have the following in the admin template of the widget:
I'm trying to use the conditional "{$options.snippet}" to check in a template if the check box is enabled in the widget. Does anyone know what I'm doing wrong?
Code:
<xf:checkboxrow standalone="true">
<xf:option name="options[snippet]"
label="{{ phrase('jfae_enable_snippet') }}"
selected="{$options.snippet}"
/>
</xf:checkboxrow>
I'm trying to use the conditional "{$options.snippet}" to check in a template if the check box is enabled in the widget. Does anyone know what I'm doing wrong?