<% body, html_attrs, ajax_attrs, form_attrs = form_helper(attributes, parameters) unless body.nil? add_data_rapid!(html_attrs, :form, :ajax_attrs => ajax_attrs) unless ajax_attrs.empty? %> <%= element("form", html_attrs.merge(form_attrs), body) if body %> <% end %>