class Blueprint::Form::Builder(T)

Included Modules

Defined in:

blueprint/form/builder.cr

Constructors

Instance Method Summary

Instance methods inherited from module Blueprint::Form::Tags

checkbox_input(attribute : Symbol, checked_value = "1", unchecked_value = "0", **html_options) : Nil checkbox_input, color_input(attribute : Symbol, **html_options) : Nil color_input, date_input(attribute : Symbol, **html_options) : Nil date_input, datetime_input(attribute : Symbol, **html_options) : Nil datetime_input, datetime_local_input(attribute : Symbol, **html_options) : Nil datetime_local_input, email_input(attribute : Symbol, **html_options) : Nil email_input, file_input(attribute : Symbol, **html_options) : Nil file_input, hidden_input(attribute : Symbol, **html_options) : Nil hidden_input, input_id(attribute : Symbol, value = nil) input_id, input_name(attribute : Symbol) input_name, label(attribute : Symbol, value = nil, **html_options, &) : Nil
label(attribute : Symbol, text : String | Nil = nil, value = nil, **html_options) : Nil
label
, month_input(attribute : Symbol, **html_options) : Nil month_input, number_input(attribute : Symbol, **html_options) : Nil number_input, password_input(attribute : Symbol, **html_options) : Nil password_input, radio_input(attribute : Symbol, value, **html_options) : Nil radio_input, range_input(attribute : Symbol, range : Range, **html_options)
range_input(attribute : Symbol, **html_options) : Nil
range_input
, reset(value = safe("Reset"), **html_options) : Nil reset, search_input(attribute : Symbol, **html_options) : Nil search_input, submit(value = safe("Submit"), **html_options) : Nil submit, tel_input(attribute : Symbol, **html_options) : Nil tel_input, text_input(attribute : Symbol, **html_options) : Nil text_input, time_input(attribute : Symbol, **html_options) : Nil time_input, url_input(attribute : Symbol, **html_options) : Nil url_input, week_input(attribute : Symbol, **html_options) : Nil week_input

Instance methods inherited from module Blueprint::HTML

to_s(buffer : String::Builder) : Nil
to_s : String
to_s(buffer : String::Builder, &) : Nil
to_s(&) : String
to_s

Class methods inherited from module Blueprint::HTML

build(&) : String build

Macros inherited from module Blueprint::HTML::StyleBuilder

build_style(**styles) build_style, style_builder(&block) style_builder

Macros inherited from module Blueprint::HTML::Helpers

tokens(**conditions) tokens

Instance methods inherited from module Blueprint::HTML::Forms

default_form_builder : Form::Builder.class default_form_builder, form_builder(scope : Symbol = :"", builder : Form::Builder.class = default_form_builder, **html_options, &) form_builder, inputs(scope : Symbol | String = :"", &) inputs

Macros inherited from module Blueprint::HTML::ElementRegistrar

register_element(method_name, tag = nil) register_element, register_empty_element(method_name, tag = nil) register_empty_element, register_void_element(method_name, tag = nil) register_void_element

Macros inherited from module Blueprint::HTML::ComponentRegistrar

register_component(helper_method, component_class, block = true) register_component

Constructor Detail

def self.new(scope : Symbol, html_options : T) #

[View source]
def self.new(scope = :"", **html_options) : self #

[View source]

Instance Method Detail

def blueprint(&) #

[View source]