# 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
# 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
# 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
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.