utf8_enforcer_tag

utf8_enforcer_tag() Instance Public methods Creates the hidden UTF8 enforcer tag. Override this method in a helper to customize the tag.

url_field_tag

url_field_tag(name, value = nil, options = {}) Instance Public methods Creates a text field of type âurlâ. Options Accepts the same options as text_field_tag.

time_field_tag

time_field_tag(name, value = nil, options = {}) Instance Public methods Creates a text field of type âtimeâ. Options :min - The minimum acceptable value. :max - The maximum acceptable value. :step - The acceptable value granularity. Otherwise accepts the same options as text_field_tag.

text_field_tag

text_field_tag(name, value = nil, options = {}) Instance Public methods Creates a standard text field; use these text fields to input smaller chunks of text like a username or a search query. Options :disabled - If set to true, the user will not be able to use this input. :size - The number of visible characters that will fit in the input. :maxlength - The maximum number of characters that the browser will allow the user to enter. :placeholder - The text contained in the fie

text_area_tag

text_area_tag(name, content = nil, options = {}) Instance Public methods Creates a text input area; use a textarea for longer text inputs such as blog posts or descriptions. Options :size - A string specifying the dimensions (columns by rows) of the textarea (e.g., â25x10â). :rows - Specify the number of rows in the textarea :cols - Specify the number of columns in the textarea :disabled - If set to true, the user will not be able to use this input. :escape - By default, t

telephone_field_tag

telephone_field_tag(name, value = nil, options = {}) Instance Public methods Creates a text field of type âtelâ. Options Accepts the same options as text_field_tag. phone_field_tag

submit_tag

submit_tag(value = "Save changes", options = {}) Instance Public methods Creates a submit button with the text value as the caption. Options :data - This option can be used to add custom data attributes. :disabled - If true, the user will not be able to use this input. Any other key creates standard HTML options for the tag. Data attributes confirm: 'question?' - If present the unobtrusive JavaScript drivers will provide a prompt with the question specified. If the user ac

select_tag

select_tag(name, option_tags = nil, options = {}) Instance Public methods Creates a dropdown selection box, or if the :multiple option is set to true, a multiple choice selection box. Helpers::FormOptions can be used to create common select boxes such as countries, time zones, or associated records. option_tags is a string containing the option tags for the select box. Options :multiple - If set to true the selection will allow multiple choices. :disabled - If set to true, the u

search_field_tag

search_field_tag(name, value = nil, options = {}) Instance Public methods Creates a text field of type âsearchâ. Options Accepts the same options as text_field_tag.

range_field_tag

range_field_tag(name, value = nil, options = {}) Instance Public methods Creates a range form element. Options Accepts the same options as number_field_tag.