method
form_tag_in_block
v2.1.0 -
Show latest stable
- Class:
ActionView::Helpers::FormTagHelper
form_tag_in_block(html_options, &block)private
No documentation available.
# File actionpack/lib/action_view/helpers/form_tag_helper.rb, line 443
def form_tag_in_block(html_options, &block)
content = capture(&block)
concat(form_tag_html(html_options), block.binding)
concat(content, block.binding)
concat("</form>", block.binding)
end