Try:
input class=radio type=radio name=recipe_type value=Warmup [% IF
flags 16 %]checked=1[% END %] /Warmup
From: Bill McCormick wpmccorm...@gmail.commailto:wpmccorm...@gmail.com
Date: Fri, 5 Dec 2014 08:38:35 -0600
To: templates@template-toolkit.orgmailto:templates@template-toolkit.org
Even better would be:
input class=radio type=radio name=recipe_type value=Warmup [% IF
flags 16 %]checked=“checked[% END %] /Warmup
From: Bill McCormick wpmccorm...@gmail.commailto:wpmccorm...@gmail.com
Date: Fri, 5 Dec 2014 08:38:35 -0600
To:
Hi,
I've set up a template with a global var as follows:
my $tt = Template-new( {
VARIABLES = {
username = 'Simba',
},
RELATIVE = 1,
} ) || die $Template::ERROR\n;
In my template I do this:
This is a menu.html file:
lia href=spanLogged in as: [% username %]
Hi,
I am having an issue using multiple checkboxes with the same name with TT.
If I have some checkboxes like this:
input type=checkbox name=options value=1
input type=checkbox name=options value=2
input type=checkbox name=options value=3
If I select 3 of these and submit, what gets posted to