Type:
Module

Provides a number of methods for creating form tags that don't rely on an Active Record object assigned to the template like FormHelper does. Instead, you provide the names and values manually.

NOTE: The HTML options disabled, readonly, and multiple can all be treated as booleans. So specifying disabled: true will give disabled="disabled".

phone_field_tag

phone_field_tag(name, value = nil, options = {}) Instance Public methods Alias

2015-06-20 00:00:00
search_field_tag

search_field_tag(name, value = nil, options = {}) Instance Public methods Creates

2015-06-20 00:00:00
submit_tag

submit_tag(value = "Save changes", options = {}) Instance Public methods Creates

2015-06-20 00:00:00
check_box_tag

check_box_tag(name, value = "1", checked = false, options = {}) Instance Public methods

2015-06-20 00:00:00
email_field_tag

email_field_tag(name, value = nil, options = {}) Instance Public methods Creates

2015-06-20 00:00:00
text_area_tag

text_area_tag(name, content = nil, options = {}) Instance Public methods Creates

2015-06-20 00:00:00
select_tag

select_tag(name, option_tags = nil, options = {}) Instance Public methods Creates

2015-06-20 00:00:00
telephone_field_tag

telephone_field_tag(name, value = nil, options = {}) Instance Public methods Creates

2015-06-20 00:00:00
range_field_tag

range_field_tag(name, value = nil, options = {}) Instance Public methods Creates

2015-06-20 00:00:00
number_field_tag

number_field_tag(name, value = nil, options = {}) Instance Public methods Creates

2015-06-20 00:00:00