ActionView::Helpers::FormTagHelper

module ActionView::Helpers::FormTagHelper

Included modules:
ActionView::Helpers::UrlHelper, ActionView::Helpers::TextHelper

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

登录查看完整内容