Subject: | Label class |
HTML::FormHandler::Widget::Wrapper::Bootstrap
perl5 (revision 5 version 8 subversion 8)
2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:43 EDT 2010 i686 i686 i386 GNU/Linux
Has adding attributes to labels changed? I have tried:
has_field 'email' => (
type => 'Email',
required => 1,
html_attr => { class => '{required:true}' },
label_attr => { class => [ 'required' ] }
);
and
has_field 'email' => (
type => 'Email',
required => 1,
html_attr => { class => '{required:true}' },
label_class => 'required'
);
and
has_field 'email' => (
type => 'Email',
required => 1,
html_attr => { class => '{required:true}' },
label_class => ['required']
);
None seem to output the class with HTML::FormHandler::Widget::Wrapper::Bootstrap