Module: ActionView::Helpers::FormHelper

### Home Classes Methods

### In Files

- lib/haml/helpers/action_view_mods.rb
- lib/haml/helpers/action_view_xss_mods.rb

### Methods

- #form_for
- #form_for_with_haml
- #form_for_with_haml_xss
- #form_for_without_haml
- #form_for_without_haml_xss

### Class/Module Index

Quicksearch

- Haml
- Haml::Buffer
- Haml::Compiler
- Haml::Engine
- Haml::Error
- Haml::ErubisTemplateHandler
- Haml::Exec
- Haml::Exec::Generic
- Haml::Exec::Haml
- Haml::Filters
- Haml::Filters::Base
- Haml::Filters::Cdata
- Haml::Filters::Css
- Haml::Filters::Erb
- Haml::Filters::Escaped
- Haml::Filters::Javascript
- Haml::Filters::Plain
- Haml::Filters::PrecompiledTiltFilter
- Haml::Filters::Preserve
- Haml::Filters::Ruby
- Haml::Filters::SassRailsTemplate
- Haml::Filters::ScssRailsTemplate
- Haml::Filters::TiltFilter
- Haml::Helpers
- Haml::Helpers::ActionViewExtensions
- Haml::Helpers::ErrorReturn
- Haml::Helpers::XssMods
- Haml::Options
- Haml::Parser
- Haml::Parser::Line
- Haml::Parser::ParseNode
- Haml::Plugin
- Haml::Railtie
- Haml::SafeErubisTemplate
- Haml::SyntaxError
- Haml::Template
- Haml::Util
- Haml::Util::StaticConditionalContext
- ActionView
- ActionView::Base
- ActionView::Helpers
- ActionView::Helpers::CaptureHelper
- ActionView::Helpers::FormHelper
- ActionView::Helpers::FormTagHelper
- ActionView::Helpers::HamlSupport
- ActionView::Helpers::InstanceTag
- ActionView::Helpers::TagHelper
- ActionView::Helpers::Tags
- ActionView::Helpers::Tags::TextArea
- ActionView::Helpers::TextHelper
- Object

No matching classes.

# ActionView::Helpers::FormHelper

### Public Instance Methods

form_for(object_name, *args, &proc) click to toggle source
Also aliased as: form_for_without_haml, form_for_without_haml_xss
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 140
    def form_for_with_haml(object_name, *args, &proc)
      wrap_block = block_given? && is_haml? && block_is_haml?(proc)
      if wrap_block
        oldproc = proc
        proc = proc {|*subargs| with_tabs(1) {oldproc.call(*subargs)}}
      end
      res = form_for_without_haml(object_name, *args, &proc)
      res << "\n" if wrap_block
      res
    end

Also aliased as: form_for
form_for_with_haml_xss(*args, &block) click to toggle source

    # File lib/haml/helpers/action_view_xss_mods.rb, line 27
    def form_for_with_haml_xss(*args, &block)
      res = form_for_without_haml_xss(*args, &block)
      return Haml::Util.html_safe(res) if res.is_a?(String)
      return res
    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_xss(object_name, *args, &proc) click to toggle source
Alias for: form_for

[Validate]

Generated with the Darkfish Rdoc Generator 2.