Skip to content

Instantly share code, notes, and snippets.

@tubbo
Forked from anonymous/_search_resource.html.erb
Last active December 27, 2015 00:29
Show Gist options
  • Select an option

  • Save tubbo/7237893 to your computer and use it in GitHub Desktop.

Select an option

Save tubbo/7237893 to your computer and use it in GitHub Desktop.
<%= form_tag url_path, method: "get", id: "search", class: "form-inline", role: "form" do %>
<%= end %>
<%= render 'bulk_action_form' %>
<%= render "shared/search_resource", url_path: dashboard_account_path, resource_description: "an account" %>
# All of the bulk action form's contents would be here
<%= render "shared/dashboard/index_sidebar", partial: "sidebar" %>
<%= form_tag some_path, method: :patch, id: "form_bulk_action", role: "form" do %>
<%= render partial %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment