def inline(label = nil, &block)
    template.content_tag(:div) do
      template.concat template.content_tag(:label, label) if label.present?
      template.concat template.content_tag(:div, :class => 'input') {
        template.content_tag(:div, :class => 'inline-inputs') do
          template.fields_for(
            self.object_name,
            self.object,
            self.options.merge(:builder => ActionView::Helpers::FormBuilder),
            &block
          )
        end
      }
    end
  end
Creates bootstrap wrapping before yielding a plain old rails builder
to the supplied block.