Class: Flowbite::Input::ValidationError
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Flowbite::Input::ValidationError
- Defined in:
- app/components/flowbite/input/validation_error.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
6 7 8 |
# File 'app/components/flowbite/input/validation_error.rb', line 6 def call tag.p(content, class: "mt-2 text-sm text-red-600 dark:text-red-500") end |