Sha256: bce75ccec2e0c8ade5cfc0ba4d2f70c6e3838730fdb1e9be431f01c5db4c19a0

Contents?: true

Size: 915 Bytes

Versions: 1

Compression:

Stored size: 915 Bytes

Contents

<% params_for_url = params.clone
   params_for_url.delete(:q)
   params_for_url.delete(:custom_search) %>

<%= search_form_for report.search, url: url_for({}), remote: @remote,
                    html: (QueryReport.config.search_form_options || {}).merge(method: :get) do |f| %>
    <%= hash_to_hidden_fields params_for_url %>
    <% report.filters.each do |filter| %>
        <% filter.comparators.each do |comparator| %>
            <%= query_report_render_filter(filter, comparator) %>
        <% end %>
    <% end %>
    <%= hidden_field_tag :send_as_email, false %>
    <%= hidden_field_tag :email_to %>
    <%= hidden_field_tag :subject %>
    <%= hidden_field_tag :message %>
    <%= hidden_field_tag :target_dom_id, @target_dom_id %>
    <%= f.submit t('query_report.labels.search'), :class => QueryReport.config.search_button_class, :onclick => "$('#{@target_dom_id} #send_as_email').val(0);" %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
query_report-1.1.6 app/views/query_report/_search.html.erb