module Lucky::SelectHelpers

Direct including types

Defined in:

lucky_avram/ext/lucky/select_helpers.cr

Instance Method Summary

Instance Method Detail

def multi_select_input(field : Avram::PermittedAttribute(Array), **html_options, &) : Nil #

[View source]
def options_for_select(field : Avram::PermittedAttribute(T), select_options : Array(Tuple(String, T | Nil)), **html_options) : Nil forall T #

[View source]
def options_for_select(field : Avram::PermittedAttribute(Array(T)), select_options : Array(Tuple(String, T)), **html_options) : Nil forall T #

[View source]
def select_input(field : Avram::PermittedAttribute, **html_options, &) : Nil #

[View source]
def select_prompt(label : String) : Nil #

Renders an


[View source]