Class: Phlexi::Form::Components::Hint

Inherits:
Base
  • Object
show all
Defined in:
lib/phlexi/form/components/hint.rb

Instance Attribute Summary

Attributes inherited from Base

#attributes, #field

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Phlexi::Form::Components::Base

Instance Method Details

#view_templateObject



7
8
9
10
11
# File 'lib/phlexi/form/components/hint.rb', line 7

def view_template
  p(**attributes) do
    field.hint
  end
end