class FormBuilder::Themes::Bootstrap4Vertical
Defined in:
form_builder/themes/bootstrap_4_vertical.crClass Method Summary
Instance Method Summary
- #build_html_error(error : String, html_attrs : StringHash, field_type : String)
- #build_html_help_text(help_text : String, html_attrs : StringHash, field_type : String)
- #form_html_attributes(html_attrs : StringHash)
- #input_html_attributes(html_attrs : StringHash, field_type : String, has_errors? : Bool)
- #label_html_attributes(html_attrs : StringHash, field_type : String, has_errors? : Bool)
- #wrap_field(field_type : String, html_field : String, html_label : String | Nil, html_help_text : String | Nil, html_errors : Array(String) | Nil, wrapper_html_attributes : StringHash)
Instance methods inherited from class FormBuilder::Themes::BaseTheme
build_html_error(error : String, html_attrs : StringHash, field_type : String)
build_html_error,
build_html_help_text(help_text : String, html_attrs : StringHash, field_type : String)
build_html_help_text,
form_html_attributes(html_attrs : StringHash)
form_html_attributes,
input_html_attributes(html_attrs : StringHash, field_type : String, has_errors? : Bool)
input_html_attributes,
label_html_attributes(html_attrs : StringHash, field_type : String, has_errors? : Bool)
label_html_attributes,
wrap_field(field_type : String, html_field : String, html_label : String | Nil, html_help_text : String | Nil, html_errors : Array(String) | Nil, wrapper_html_attributes : StringHash)
wrap_field
Class methods inherited from class FormBuilder::Themes::BaseTheme
theme_name
theme_name
Class Method Detail
Instance Method Detail
def build_html_help_text(help_text : String, html_attrs : StringHash, field_type : String)
#
def input_html_attributes(html_attrs : StringHash, field_type : String, has_errors? : Bool)
#
def label_html_attributes(html_attrs : StringHash, field_type : String, has_errors? : Bool)
#
def wrap_field(field_type : String, html_field : String, html_label : String | Nil, html_help_text : String | Nil, html_errors : Array(String) | Nil, wrapper_html_attributes : StringHash)
#