Re: [html-formfu] CSS Class Prefixes

2013-05-07 Thread Jan Harders
Hi Charlie, Am 05/05/2013 02:57 AM, schrieb Charlie Garrison: > > But if we could fix the 'label' class name problem then we might revisit > using bootstrap. > > All of that is a long way to say I think this is a valid problem and > needs a solution. My preference would be a class-prefix since t

Re: [html-formfu] CSS Class Prefixes

2013-05-04 Thread Charlie Garrison
Good morning, On 4/05/13 at 7:53 PM +0200, Jan Harders wrote: to the process_attrs in FormFu::Util, but that feels a bit dirty. Is there a way to set a class-prefix that I overloooked? If not, why not introduce one? Or, as an alternative, the possibility to pass a hashref with class2wantedclas

[html-formfu] CSS Class Prefixes

2013-05-04 Thread Jan Harders
Hey everyone, I'm pretty new to HTML::FormFu. I'm working with the Foundation CSS-Framework which has a label-class that makes forms with labels look pretty weird. I fixed that myself by just adding if($attribute eq "class") { $value =~ s/ +/ formfu_/g; $value = 'formfu_' . $value