class Shared::FieldErrors(T)

Defined in:

components/shared/field_errors.cr

Constant Summary

ASSIGNS = [attribute : Avram::PermittedAttribute(T)] of Nil

Constructors

Class Method Summary

Instance Method Summary

Class methods inherited from class BaseComponent

file_location file_location

Constructor Detail

def self.new(attribute : Avram::PermittedAttribute(T), **unused_exposures) #

Class Method Detail

def self.file_location #

Returns the relative file location to the project root. e.g. src/components/my_component.cr


[View source]

Instance Method Detail

def attribute #

def label_text : String #

[View source]
def render #

Customize the markup and styles to match your application


[View source]