Skip to content

Instantly share code, notes, and snippets.

@olivierbuffon
Created February 18, 2012 17:09
Show Gist options
  • Save olivierbuffon/1860218 to your computer and use it in GitHub Desktop.
Save olivierbuffon/1860218 to your computer and use it in GitHub Desktop.
#content
#content-header
.h2-edit Search
#content-container
= search_form_for @search, :url => { controller: "searches", action: "advanced"}, html: {method: :post} do |f|
- setup_search_form f
#search-conditions
= f.condition_fields do |c|
= render 'alerts/condition_fields', f: c
= button_to_add_fields "Add Condition", f, :condition
= f.grouping_fields do |g|
= render 'alerts/grouping_fields', f: g
= f.submit
= render 'alerts/results'
Missing partial administration/searches/grouping_fields, administration/administration/grouping_fields with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :coffee, :haml, :rabl]}. Searched in:
* "/Users/olivierbuffon/Documents/Stages en Entreprise/Stage Level-Informatique 2010-2011/Clients/Contrat Online/Projects/contrat-online/app/views"
* "/Users/olivierbuffon/.rvm/gems/ruby-1.9.3-p0@contrat-online/gems/kaminari-0.13.0/app/views"
* "/Users/olivierbuffon/.rvm/gems/ruby-1.9.3-p0@contrat-online/gems/declarative_authorization-0.5.5/app/views"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment