XF 2.2 Checking if a widget checkbox is enabled in a template

JoyFreak

Well-known member
I have the following in the admin template of the widget:
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?
 
Back
Top Bottom