module

Motion::HTML::SelectHelpers

Instance methods

options_for_select(field : Avram::PermittedAttribute(T), select_options : Array(Tuple(String, T)), **html_options) : Nil forall T
Source
select_input(field : Avram::PermittedAttribute, **html_options, &) : Nil
Source
select_prompt(label : String) : Nil

Renders an <option> HTML tag with no value The text is set to label.

Source