module TailwindForm::Components::Labels

Private Instance Methods

tailwind_label_field(name) click to toggle source
# File lib/tailwind_form/components/labels.rb, line 10
def tailwind_label_field(name)
  field_options = { class: 'form__label' }
  label(name, field_options)
end