Sha256: a0406ed5245a061f358dc20149158d4820c3ff2133ceda5c6e124340cef9aa35

Contents?: true

Size: 1.58 KB

Versions: 3

Compression:

Stored size: 1.58 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" %>
    </div>
		
		<div class="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), {:onChange=>"markDirty()"}) %>
        &nbsp;&nbsp;<%=link_to_function("<span>Submit Filter</span>", "wfFilter.submit()", :class => "grey-button pcb") %>
		  </div>
			<div>
        <%=link_to_function("<span>+ Add</span>", "wfFilter.addCondition()", :class => "grey-button pcb") %>
        <%=link_to_function("<span>- Clear</span>", "wfFilter.removeAllConditions()", :class => "grey-button 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.57958~
will_filter-3.1.2 app/views/will_filter/filter/.tmp__container.html.erb.57958~
will_filter-3.1.1 app/views/will_filter/filter/.tmp__container.html.erb.57958~