ActionView::Helpers::FormHelper

Public Instance Methods

form_for(*args, &block) click to toggle source
form_for(object_name, *args, &proc) click to toggle source
Alias for: form_for_with_haml
form_for(object_name, *args, &proc) click to toggle source
Alias for: form_for_with_haml
form_for_with_haml(object_name, *args, &proc) click to toggle source
     # File lib/haml/helpers/action_view_mods.rb, line 237
237:         def form_for_with_haml(object_name, *args, &proc)
238:           wrap_block = block_given? && is_haml? && block_is_haml?(proc)
239:           if wrap_block
240:             oldproc = proc
241:             proc = haml_bind_proc do |*args|
242:               tab_up
243:               oldproc.call(*args)
244:               tab_down
245:               concat haml_indent
246:             end
247:             concat haml_indent
248:           end
249:           form_for_without_haml(object_name, *args, &proc)
250:           concat "\n" if wrap_block
251:           Haml::Helpers::ErrorReturn.new("form_for") if is_haml?
252:         end
form_for_with_haml(object_name, *args, &proc) click to toggle source
     # File lib/haml/helpers/action_view_mods.rb, line 177
177:         def form_for_with_haml(object_name, *args, &proc)
178:           wrap_block = block_given? && is_haml? && block_is_haml?(proc)
179:           if wrap_block
180:             oldproc = proc
181:             proc = proc {|*args| with_tabs(1) {oldproc.call(*args)}}
182:           end
183:           res = form_for_without_haml(object_name, *args, &proc)
184:           res << "\n" if wrap_block
185:           res
186:         end
Also aliased as: form_for, form_for
form_for_with_haml_xss(*args, &block) click to toggle source
     # File lib/haml/helpers/xss_mods.rb, line 131
131:       def form_for_with_haml_xss(*args, &block)
132:         res = form_for_without_haml_xss(*args, &block)
133:         return Haml::Util.html_safe(res) if res.is_a?(String)
134:         return res
135:       end
Also aliased as: form_for
form_for_without_haml(object_name, *args, &proc) click to toggle source
Alias for: form_for
form_for_without_haml(object_name, *args, &proc) click to toggle source
Alias for: form_for
form_for_without_haml_xss(object_name, *args, &proc) click to toggle source
Alias for: form_for
text_area_with_haml(*args) click to toggle source
    # File lib/haml/helpers/rails_323_textarea_fix.rb, line 35
35:       def text_area_with_haml(*args)
36:         text_area_without_haml(*args).sub('>&#x000A;', ">\n").html_safe
37:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.