Sha256: b32b9cd969f7dc370b48cf56dc6c4d6e904b4b0c0ad516a2afcc4bea60f2591a
Contents?: true
Size: 1.69 KB
Versions: 1
Compression:
Stored size: 1.69 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=> "/will_filter/filter/conditions", :locals => {:wf_filter => wf_filter} %> </div> <div class="footer"> <div class="actions"> <%=link_to_function("Toggle Conditions", "wfFilter.toggleDebugger()", :style=>"font-size:9px") %> 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()"}) %> <%=link_to_function("<span>Submit Filter</span>".html_safe, "wfFilter.submit()", :class => "wf_grey_button wf_pcb") %> </div> <div> <%=link_to_function("<span>+ Add</span>".html_safe, "wfFilter.addCondition()", :class => "wf_grey_button wf_pcb") %> <%=link_to_function("<span>- Clear</span>".html_safe, "wfFilter.removeAllConditions()", :class => "wf_grey_button wf_pcb") %> <span id="wf_loader" class="spinner" style="display:none;"><%=image_tag "will_filter/spinner.gif", {:style=>"vertical-align:middle"} %> Loading...</span> </div> </div> <div id="wf_debugger" class="debugger" style="display:none;"> <%= raw(wf_filter.debug_sql_conditions) %> </div> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
will_filter-3.1.2 | app/views/will_filter/filter/_container.html.erb |