Class: Forms::Plain::Group

Inherits:
Group
  • Object
show all
Defined in:
lib/forms/plain/group.rb

Overview

Semantic

/ without daisyui classes.

Instance Method Summary collapse

Instance Method Details

#view_templateObject



7
8
9
10
11
12
# File 'lib/forms/plain/group.rb', line 7

def view_template
  fieldset(**@options.except(:class), class: @options[:class]) do
    legend { @legend } if @legend
    yield if block_given?
  end
end