The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

HTML::FormHandler::Widget::Wrapper::Simple

SYNOPSIS

This is the default wrapper role. It will be installed if no other wrapper is specified and widget_wrapper is not set to 'none'.

It used the 'widget_tags' keys 'wrapper_start' and 'wrapper_end', so that the default '<div<%class>>' and '</div>' tags may be replaced. The following will cause the fields to be wrapped in paragraph tags instead:

   has '+widget_tags' => ( default => sub { {
      wrapper_start => '<p>',
      wrapper_end   => '</p>' }
   );