Module | ActionView::Helpers::FormTagHelper
In: | lib/haml/helpers/action_view_mods.rb lib/haml/helpers/xss_mods.rb

### Methods

form_tag form_tag form_tag form_tag_with_haml form_tag_with_haml form_tag_with_haml_xss form_tag_without_haml form_tag_without_haml_xss

### External Aliases

form_tag | -> | form_tag_without_haml

### Public Instance methods

form_tag(*args, &block)

Alias for form_tag_with_haml_xss

form_tag(url_for_options = {}, options = {}, *parameters_for_url, &proc)

Alias for form_tag_with_haml

form_tag(url_for_options = {}, options = {}, *parameters_for_url, &proc)

Alias for form_tag_with_haml

form_tag_with_haml(url_for_options = {}, options = {}, *parameters_for_url, &proc)

[Source]

         # File lib/haml/helpers/action_view_mods.rb, line 141
    141:         def form_tag_with_haml(url_for_options = {}, options = {}, *parameters_for_url, &proc)
    142:           if is_haml?
    143:             if block_given?
    144:               oldproc = proc
    145:               proc = haml_bind_proc do |*args|
    146:                 concat "\n"
    147:                 with_tabs(1) {oldproc.call(*args)}
    148:               end
    149:             end
    150:             res = form_tag_without_haml(url_for_options, options, *parameters_for_url, &proc) + "\n"
    151:             res << "\n" if block_given?
    152:             res
    153:           else
    154:             form_tag_without_haml(url_for_options, options, *parameters_for_url, &proc)
    155:           end
    156:         end

form_tag_with_haml(url_for_options = {}, options = {}, *parameters_for_url, &proc)

[Source]

         # File lib/haml/helpers/action_view_mods.rb, line 192
    192:         def form_tag_with_haml(url_for_options = {}, options = {}, *parameters_for_url, &proc)
    193:           if is_haml?
    194:             if block_given?
    195:               oldproc = proc
    196:               proc = haml_bind_proc do |*args|
    197:                 concat "\n"
    198:                 tab_up
    199:                 oldproc.call(*args)
    200:                 tab_down
    201:                 concat haml_indent
    202:               end
    203:               concat haml_indent
    204:             end
    205:             res = form_tag_without_haml(url_for_options, options, *parameters_for_url, &proc) + "\n"
    206:             if block_given?
    207:               concat "\n"
    208:               return Haml::Helpers::ErrorReturn.new("form_tag")
    209:             end
    210:             res
    211:           else
    212:             form_tag_without_haml(url_for_options, options, *parameters_for_url, &proc)
    213:           end
    214:         end

form_tag_with_haml_xss(*args, &block)

[Source]

         # File lib/haml/helpers/xss_mods.rb, line 121
    121:       def form_tag_with_haml_xss(*args, &block)
    122:         res = form_tag_without_haml_xss(*args, &block)
    123:         res = Haml::Util.html_safe(res) unless block_given?
    124:         res
    125:       end

form_tag_without_haml(url_for_options = {}, options = {}, *parameters_for_url, &proc)

Alias for form_tag

form_tag_without_haml_xss(url_for_options = {}, options = {}, *parameters_for_url, &proc)

Alias for form_tag

[Validate]