Correct. A large chunk of what's in here is a copy paste as there will be
heavier modification over time as we redo and re-factor forms and inputs.
On May 9, 2013 3:14 PM, "David Davis" <notifications@github.com> wrote:

> In app/helpers/experimental/katello_form_builder.rb:
>
> > +    end
> > +
> > +    def label_wrapper(options)
> > +      tag_options = options[:label_wrapper][:tag_options] || {}
> > +      tag_options.merge!({:class => options[:label_wrapper][:class]})
> > +
> > +      content_tag(:div, tag_options) { yield }
> > +    end
> > +
> > +    def input_wrapper(options)
> > +      tag_options = options[:input_wrapper][:tag_options] || {}
> > +      tag_options.merge!({:class => options[:input_wrapper][:class]})
> > +
> > +      if options[:help]
> > +        content_tag(:div, tag_options ) do
> > +          yield +
>
> It looks like it's yield + content_tag(...)
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Katello/katello/pull/2219/files#r4159097>
> .
>