Sha256: 3f89b65e99bd5c172c244a1683af4f82588f1694e3f9d339a9b1378041064175

Contents?: true

Size: 1.65 KB

Versions: 3

Compression:

Stored size: 1.65 KB

Contents

<%=will_filter_scripts_tag %>

<% form_tag({}, {:method => :get, :name=>'wf_form', :id => 'wf_form', :class => 'wf_form' }) do %>
<div class="wf_container">

    <div id="wf_filter_conditions" class="conditions">
        <%= render :partial=> "/wf/filter/conditions", :locals => {:wf_filter => wf_filter} %>
    </div>
    
    <div class="wf_footer">
      <div style="float:right">
        <%=link_to_function("Toggle Conditions", "wfFilter.toggleDebugger()", :style=>"font-size:9px") %>
        &nbsp;&nbsp;
        Order: 
        <%= select_tag(:wf_order, options_for_select(wf_filter.condition_options, wf_filter.order), {:onChange=>"markDirty()"}) %>
        <%= select_tag(:wf_order_type, options_for_select(wf_filter.order_type_options, wf_filter.order_type), {:onChange=>"markDirty()"}) %>
        Per Page: 
        <%= select_tag(:wf_per_page, options_for_select(wf_filter.per_page_options, wf_filter.per_page.to_s), {:onChange=>"markDirty()"}) %>
        &nbsp;&nbsp;<%=link_to_function("<span>Submit Filter</span>", "wfFilter.submit()", :class => "wf_grey_button wf_pcb") %>
      </div>
      <div>
        <%=link_to_function("<span>+ Add</span>", "wfFilter.addCondition()", :class => "wf_grey_button wf_pcb") %>
        <%=link_to_function("<span>- Clear</span>", "wfFilter.removeAllConditions()", :class => "wf_grey_button wf_pcb") %>
        &nbsp;&nbsp;<span id="wf_loader" class="spinner" style="display:none;"><%=image_tag "/wf/images/spinner.gif", {:style=>"vertical-align:middle"} %> Loading...</span>
      </div>
    </div>

    <div id="wf_debugger" class="wf_debugger" style="display:none;">
        <%= wf_filter.debug_sql_conditions %>
    </div>
</div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
will_filter-3.1.3 app/views/will_filter/filter/.tmp__container.html.erb.92260~
will_filter-3.1.2 app/views/will_filter/filter/.tmp__container.html.erb.92260~
will_filter-3.1.1 app/views/will_filter/filter/.tmp__container.html.erb.92260~