File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/actionview-7.0.4.2/ri/ActionView/Helpers/FormBuilder/id-i.ri
U:RDoc::AnyMethod[iI"id:ETI"(ActionView::Helpers::FormBuilder#id;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"2Generate an HTML <tt>id</tt> attribute value.;To:RDoc::Markup::BlankLine o;
; [I"@return the <tt><form></tt> element's <tt>id</tt> attribute.;T@o:RDoc::Markup::Verbatim; [I""<%= form_for @post do |f| %>
;TI" <%# ... %>
;TI"
;TI"+ <% content_for :sticky_footer do %>
;TI"( <%= form.button(form: f.id) %>
;TI" <% end %>
;TI"<% end %>
;T:@format0o;
; [
I"IIn the example above, the <tt>:sticky_footer</tt> content area will ;TI"Dexist outside of the <tt><form></tt> element. By declaring the ;TI"M<tt>form</tt> HTML attribute, we hint to the browser that the generated ;TI"H<tt><button></tt> element should be treated as the <tt><form></tt> ;TI"Gelement's submit button, regardless of where it exists in the DOM.;T:
@fileI"+lib/action_view/helpers/form_helper.rb;T:0@omit_headings_from_table_of_contents_below000[ I"();T@"FI"FormBuilder;TcRDoc::NormalClass00