class Arbre::Form::Component::Group

Public Instance Methods

build(group_name: nil, **attributes) click to toggle source
Calls superclass method
# File lib/arbre/form/component/group.rb, line 3
def build(group_name: nil, **attributes)
  super attributes
  legend group_name.to_s.humanize.titleize if group_name
end
tag_name() click to toggle source
# File lib/arbre/form/component/group.rb, line 8
def tag_name
  'fieldset'
end