Class: Layout::FormErrorComponent
- Inherits:
-
CommonComponent
- Object
- ViewComponent::Base
- CommonComponent
- Layout::FormErrorComponent
- Defined in:
- app/components/layout/form_error_component.rb
Instance Method Summary collapse
-
#initialize(form:) ⇒ FormErrorComponent
constructor
A new instance of FormErrorComponent.
Methods inherited from CommonComponent
#icon, #icon_text, #level, #level_item, #pagy, #turbo_yield
Methods included from ApplicationHelper
#fas_icon, #icon, #icon_text, #l_date, #l_long, #l_time, #notifications, #notify, #notify_status, #t_enum
Constructor Details
#initialize(form:) ⇒ FormErrorComponent
Returns a new instance of FormErrorComponent.
4 5 6 7 |
# File 'app/components/layout/form_error_component.rb', line 4 def initialize(form:) super @form = form end |