---
name: "HTML::FormHandler::Widget::Block"
section: "3pm"
platform: "linux"
package: "libhtml-formhandler-perl"
version: "0.40068-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/HTML::FormHandler::Widget::Block"
---

# HTML::FormHandler::Widget::Block(3pm)

base block renderer

## NAME

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

## VERSION

version 0.40068

## 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)

- 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.

## AUTHOR

FormHandler Contributors - see HTML::FormHandler

## COPYRIGHT AND LICENSE

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.
