Class: Layout::FormErrorComponent

Inherits:
CommonComponent show all
Defined in:
app/components/layout/form_error_component.rb

Instance Method Summary collapse

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