ActionView::Helpers::FormTagHelper

Public Instance Methods

form_tag(*args, &block) click to toggle source
form_tag(url_for_options = {}, options = {}, *parameters_for_url, &proc) click to toggle source
Alias for: form_tag_with_haml
form_tag(url_for_options = {}, options = {}, *parameters_for_url, &proc) click to toggle source
Alias for: form_tag_with_haml
form_tag_with_haml(url_for_options = {}, options = {}, *parameters_for_url, &proc) click to toggle source
     # File lib/haml/helpers/action_view_mods.rb, line 208
208:         def form_tag_with_haml(url_for_options = {}, options = {}, *parameters_for_url, &proc)
209:           if is_haml?
210:             wrap_block = block_given? && block_is_haml?(proc)
211:             if wrap_block
212:               oldproc = proc
213:               proc = haml_bind_proc do |*args|
214:                 concat "\n"
215:                 tab_up
216:                 oldproc.call(*args)
217:                 tab_down
218:                 concat haml_indent
219:               end
220:               concat haml_indent
221:             end
222:             res = form_tag_without_haml(url_for_options, options, *parameters_for_url, &proc) + "\n"
223:             if block_given?
224:               concat "\n"
225:               return Haml::Helpers::ErrorReturn.new("form_tag")
226:             end
227:             res
228:           else
229:             form_tag_without_haml(url_for_options, options, *parameters_for_url, &proc)
230:           end
231:         end
form_tag_with_haml(url_for_options = {}, options = {}, *parameters_for_url, &proc) click to toggle source
     # File lib/haml/helpers/action_view_mods.rb, line 155
155:         def form_tag_with_haml(url_for_options = {}, options = {}, *parameters_for_url, &proc)
156:           if is_haml?
157:             wrap_block = block_given? && block_is_haml?(proc)
158:             if wrap_block
159:               oldproc = proc
160:               proc = haml_bind_proc do |*args|
161:                 concat "\n"
162:                 with_tabs(1) {oldproc.call(*args)}
163:               end
164:             end
165:             res = form_tag_without_haml(url_for_options, options, *parameters_for_url, &proc) + "\n"
166:             res << "\n" if wrap_block
167:             res
168:           else
169:             form_tag_without_haml(url_for_options, options, *parameters_for_url, &proc)
170:           end
171:         end
Also aliased as: form_tag, form_tag
form_tag_with_haml_xss(*args, &block) click to toggle 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
Also aliased as: form_tag
form_tag_without_haml(url_for_options = {}, options = {}, *parameters_for_url, &proc) click to toggle source
Alias for: form_tag
form_tag_without_haml(url_for_options = {}, options = {}, *parameters_for_url, &proc) click to toggle source
Alias for: form_tag
form_tag_without_haml_xss(url_for_options = {}, options = {}, *parameters_for_url, &proc) click to toggle source
Alias for: form_tag
text_area_tag_with_haml(*args) click to toggle source
    # File lib/haml/helpers/rails_323_textarea_fix.rb, line 28
28:       def text_area_tag_with_haml(*args)
29:         text_area_tag_without_haml(*args).sub('>&#x000A;', ">\n").html_safe
30:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.