HTML::FormHandler::Widget::Block - base block renderer
Base block renderer to be used with HTML::FormHandler::Blocks.
has_block 'my_fieldset' => ( tag => 'fieldset',
render_list => ['bar'], label => 'My Special Bar' );
- render_list
- List of names of objects to render (fields and blocks)
- build_render_list_method
- Coderef for constructing the list of names of objects to render (fields
and blocks)
- tag
- HTML tag for this block. Default 'div'.
- class
- Arrayref of classes for the HTML element.
- attr
- Other attributes for the HTML element.
- label_tag
- Tag to use for the label. Default: 'span'; default for 'fieldset' is
'legend'.
- label_class
- Classes for the label.
- label
- Label string. Will be localized.
FormHandler Contributors - see HTML::FormHandler
This software is copyright (c) 2017 by Gerda Shank.
This is free software; you can redistribute it and/or modify it
under the same terms as the Perl 5 programming language system itself.