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

Methods

External Aliases

form_tag -> form_tag_without_haml

Public Instance methods

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

Alias for form_tag_with_haml

[Source]

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

[Source]

     # File lib/haml/helpers/xss_mods.rb, line 101
101:       def form_tag_with_haml_xss(*args, &block)
102:         Haml::Util.html_safe(form_tag_without_haml_xss(*args, &block))
103:       end
form_tag_without_haml_xss(url_for_options = {}, options = {}, *parameters_for_url, &proc)

Alias for form_tag

[Validate]