class FormBuilder::Builder

Defined in:

form_builder/builder.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(theme : String | Symbol | FormBuilder::Themes::BaseTheme | Nil = nil) #

[View source]

Instance Method Detail

def <<(value) #

[View source]
def field(type : String | Symbol, name : String | Symbol | Nil = nil, value : String | Nil = nil, label : Bool | String | Nil = nil, help_text : String | Nil = nil, errors : Array(String) | String | Nil = nil, input_html : NamedTuple | OptionHash = OptionHash.new, label_html : NamedTuple | OptionHash = OptionHash.new, help_text_html : NamedTuple | OptionHash = OptionHash.new, wrapper_html : NamedTuple | OptionHash = OptionHash.new, error_html : NamedTuple | OptionHash = OptionHash.new, collection : NamedTuple | OptionHash | Nil = nil) #

[View source]
def html_string #

This method should be considered private


[View source]

[View source]