def field_set(legend = nil, options = nil, &block)
      @template.content_tag(:fieldset, options) do
        (legend.blank?? "" : @template.content_tag(:legend, legend)) +
        @template.capture(&block)
      end
    end
def field_set(legend = nil, options = nil, &block)
      @template.content_tag(:fieldset, options) do
        (legend.blank?? "" : @template.content_tag(:legend, legend)) +
        @template.capture(&block)
      end
    end
Render a field set (HTML <fieldset>). Takes the legend (optional), an
 options hash, and a block in which fields are rendered.