[html-formfu] Repeatable with calback?
Alex Povolotsky
tarkhil at over.ru
Sat Jan 2 08:08:03 GMT 2010
Hello!
I'm making a (relatively) complex setup not fitting directly into
HTML::FormFu::Model.
In controller:
my $send1 : Stashed;
my $model = $c->model('IILE');
$send1 = $model->resultset('News')->UnsentNews();
In form (currently not HTML::FormFu-based)
[% WHILE (send = send1.next) %]
<b>[% send.data.day %] [% send.data.set_locale('ru_RU.UTF-8').month_name
%] [% send.data.year %]</b><br />
<input type="checkbox" name="send[% send.id %]" value="1"> Include in
mail<br /> [% send.announce %]<br />
[% END %]
How do I make a proper Repeatable or Checkboxgroup? Add elements
explicitly in _RENDER?
Alex.
More information about the HTML-FormFu
mailing list