I'm using HTML::FormHandler
and creating a dynamic form, and I'd like to be able to use HTML::FormHandler::Widget::Theme::Bootstrap
with it.
However, I can't figure out how to get a dynamic form to include 'withs'. The documentation shows that you create a dynamic form like so:
my $form = HTML::FormHandler->new(
name => 'user_form',
item => $user,
field_list => [
'username' => {
type => 'Text',
apply => [ { check => qr/^[0-9a-z]*\z/,
message => 'Contains invalid characters' } ],
},
'select_bar' => {
type => 'Select',
options => \@select_options,
multiple => 1,
size => 4,
},
],
);
Does anyone know how I could get this form to use HTML::FormHandler::Widget::Theme::Bootstrap
?