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".

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
submit_tag

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

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
phone_field_tag

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

2015-06-20 00:00:00
datetime_field_tag

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

2015-06-20 00:00:00
password_field_tag

password_field_tag(name = "password", value = nil, options = {}) Instance Public methods

2015-06-20 00:00:00
file_field_tag

file_field_tag(name, options = {}) Instance Public methods Creates a file upload

2015-06-20 00:00:00