|
I'm new to the Template-Toolkit and have a question regarding how to embed an IF condition...
I have:
[% cgi.popup_menu(
name => 'my_name',
values => my_values,
labels => my_labels,
[% IF data.disabled == '1' %]
disabled => data.disabled
[% END %]
%]
but I'm getting the following error: unexpected token (%)
So, is it possible to embed an IF clause in this manner, or is it not possible?
Thanks,
Jayson
|