Class: Forms::Plain::Row

Inherits:
Row
  • Object
show all
Defined in:
lib/forms/plain/row.rb

Overview

Row without grid classes: a bare

with a data hook so host CSS can lay it out (columns: is accepted and ignored).

Instance Method Summary collapse

Instance Method Details

#view_templateObject



8
9
10
# File 'lib/forms/plain/row.rb', line 8

def view_template(&)
  div(data: { form_row: true }, class: @options[:class], **@options.except(:class), &)
end