[html-formfu] How to remove enclosing div for a text input element
Brian Cassidy
brian.cassidy at gmail.com
Wed Apr 4 11:49:50 GMT 2012
On Wed, Apr 4, 2012 at 7:10 AM, abhishek jain
<abhishek.netjain at gmail.com> wrote:
> hi,
> I in yml file have
> - type: Text
> name: one
> label: something
>
> it generates:
>
> <div class="text label">
> <input name="one">
> </div>
>
> I want to change the class of this div,
See the following sections of the docs:
The tag itself:
https://metacpan.org/module/HTML::FormFu::Role::Element::Field#container_tag
The tag's attributes:
https://metacpan.org/module/HTML::FormFu::Role::Element::Field#container_attributes
HTH,
--
Brian Cassidy (brian.cassidy at gmail.com)
More information about the HTML-FormFu
mailing list