Class Index [+]

Quicksearch

ActionView::Helpers::FormHelper

Public Instance Methods

form_for(object_name, *args, &proc) click to toggle source
Alias for: form_for_with_haml
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_with_haml(object_name, *args, &proc) click to toggle source
     # File lib/haml/helpers/action_view_mods.rb, line 163
163:         def form_for_with_haml(object_name, *args, &proc)
164:           wrap_block = block_given? && is_haml? && block_is_haml?(proc)
165:           if wrap_block
166:             oldproc = proc
167:             proc = proc {|*args| with_tabs(1) {oldproc.call(*args)}}
168:           end
169:           res = form_for_without_haml(object_name, *args, &proc)
170:           res << "\n" if wrap_block
171:           res
172:         end
Also aliased as: form_for, form_for
form_for_with_haml(object_name, *args, &proc) click to toggle source
     # File lib/haml/helpers/action_view_mods.rb, line 223
223:         def form_for_with_haml(object_name, *args, &proc)
224:           wrap_block = block_given? && is_haml? && block_is_haml?(proc)
225:           if wrap_block
226:             oldproc = proc
227:             proc = haml_bind_proc do |*args|
228:               tab_up
229:               oldproc.call(*args)
230:               tab_down
231:               concat haml_indent
232:             end
233:             concat haml_indent
234:           end
235:           form_for_without_haml(object_name, *args, &proc)
236:           concat "\n" if wrap_block
237:           Haml::Helpers::ErrorReturn.new("form_for") if is_haml?
238:         end
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(*args, &block) click to toggle source
Alias for: form_for
form_for_without_haml(*args, &block) click to toggle source
Alias for: form_for
form_for_without_haml_xss(*args, &block) click to toggle source
Alias for: form_for

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.