class Shared::FieldLabel(T)

Defined in:

components/shared/field_label.cr

Constant Summary

ASSIGNS = [attribute : Avram::PermittedAttribute(T), label_text : String | ::Nil] 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), label_text : String | Nil = nil, **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 #

def render #

[View source]