use strict; use warnings; use Test::More; use HTML::FormHandler::Test; { package MyApp::Form::Test; use HTML::FormHandler::Moose; extends 'HTML::FormHandler'; has '+widget_wrapper' => ( default => 'Bootstrap3'); has_field 'foo'; has_field 'inlineCheckboxes' => ( type => 'Multiple', widget => 'CheckboxGroup', label => 'Inline checkboxes', tags => { 'inline' => 1 }, options => [ { value => 'option1', label => '1' }, { value => 'option2', label => '2' }, { value => 'option3', label => '3' } ], ); } my $form = MyApp::Form::Test->new; $form->process; my $expected = '