{% if tdata['row']['enable']==1 %} {% set enable_checked='checked' %} {% else %} {% set enable_checked='' %} {% endif %}