Sha256: 7fd5b93711ed079998bf52c77227289d4b2337389ace408f01d7d3c5df248977

Contents?: true

Size: 1.52 KB

Versions: 5

Compression:

Stored size: 1.52 KB

Contents

<div style="margin:0;padding:0;display:inline">
  <%= hidden_field_tag(:wf_id, wf_filter.id) %>
  <%= hidden_field_tag(:wf_type, wf_filter.class.name) %>
  <%= hidden_field_tag(:wf_dirty, "false") %>
  <%= hidden_field_tag(:wf_submitted, "false") %>
  <%= hidden_field_tag(:wf_name, wf_filter.name) %>

  <% unless WillFilter::Config.require_filter_extensions? %>
    <%= hidden_field_tag(:wf_model, wf_filter.model_class_name) %>
  <% end %>
    
  <%= hidden_field_tag(:wf_export_format, "") %>
  <%= hidden_field_tag(:wf_export_fields, "") %>
</div>

<div class="header">
  <% if wf_filter.show_export_options? %>
    <div class="end" style="padding-left:3px;">
      <%=link_to_function("<span>Export Data...</span>".html_safe, "wfExporter.show(this)", :class => "wf_grey_button wf_pcb") %>
    </div>  
  <% end %>
  
  <% if wf_filter.show_save_options? %>
    <div class="end">
      <%=link_to_function("<span>Save As New...</span>".html_safe, "wfFilter.saveFilter()", :class => "wf_grey_button wf_pcb") %>
      <% if wf_filter.id %>
        <%=link_to_function("<span>Update</span>".html_safe, "wfFilter.updateFilter()", :class => "wf_grey_button wf_pcb") %>
        <%=link_to_function("<span>Delete</span>".html_safe, "wfFilter.deleteFilter()", :class => "wf_grey_button wf_pcb") %>
      <% end %>
    </div>
  <% end %>

  <div>
    <% unless wf_filter.saved_filters.empty? %>
       <%= select_tag(:wf_key, options_for_select(wf_filter.saved_filters, wf_filter.key), {:onChange=>"wfFilter.loadSavedFilter()"}) %>
    <% end %>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
will_filter-3.1.11 app/views/will_filter/filter/_conditions_header.html.erb
will_filter-3.1.10 app/views/will_filter/filter/_conditions_header.html.erb
will_filter-3.1.9 app/views/will_filter/filter/_conditions_header.html.erb
will_filter-3.1.8 app/views/will_filter/filter/_conditions_header.html.erb
will_filter-3.1.7 app/views/will_filter/filter/_conditions_header.html.erb