Gerda Shank > HTML-FormHandler-0.40054 > HTML::FormHandler::Widget::Block

Download:
HTML-FormHandler-0.40054.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source   Latest Release: HTML-FormHandler-0.40056

NAME ^

HTML::FormHandler::Widget::Block - base block renderer

VERSION ^

version 0.40054

SYNOPSIS ^

Base block renderer to be used with HTML::FormHandler::Blocks.

    has_block 'my_fieldset' => ( tag => 'fieldset',
        render_list => ['bar'], label => 'My Special Bar' );

ATTRIBUTES ^

render_list

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.

AUTHOR ^

FormHandler Contributors - see HTML::FormHandler

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 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.

syntax highlighting: