search for: accessiblebuild

Displaying 1 result from an estimated 1 matches for "accessiblebuild".

Did you mean: accessiblebuilder
2007 Jan 24
1
Removing empty class attribute from @template.content_tag
Hey all, I have a quick question regarding the @template.content_tag methos when creating a custom form builder. Currently have the following method in my AccessibleBuilder class: def datetime_select(field, options = {}) required = options.delete :required label = options.delete :label @template.content_tag("div", @template.content_tag( "span", Example Label ) + super, :class => (required.nil?) ? '''' : '...