Sha256: 1391b0945ea1bb99c15a90a75c773374db427ba42125430d91e8c6f18e86b46f

Contents?: true

Size: 1.51 KB

Versions: 2

Compression:

Stored size: 1.51 KB

Contents

<div data-hook="admin_insights_sidebar">
  <%= form_tag form_action(@report_name, params[:type]), method: :get, id: "filter-search" do %>
    <div class="quick_search_form">
    </div>
    <div class="row">
      <div class="date-range-filter col-md-8">
        <div class="form-group">
          <div class="row no-padding-bottom">
            <div class="col-md-6">
              <%= label_tag :search_start_date, Spree.t(:start_date) %>
              <div class="input-group">
                <%= text_field_tag 'search[start_date]', params.fetch(:search, {})[:start_date], class: 'datepicker datepicker-from form-control js-filterable', placeholder: Spree.t(:start) %>
                <span class="input-group-addon">
                  <i class="fa fa-calendar"></i>
                </span>
              </div>

            </div>
            <div class="col-md-6">
              <%= label_tag :search_end_date, Spree.t(:end_date) %>
              <div class="input-group">
                <%= text_field_tag 'search[end_date]', params.fetch(:search, {})[:end_date], class: 'datepicker datepicker-to form-control js-filterable', placeholder: Spree.t(:stop) %>
                <span class="input-group-addon">
                  <i class="fa fa-calendar"></i>
                </span>
              </div>
            </div>
          </div>
        </div>
      </div>

    </div>

    <div class="form-actions" data-hook="admin_insights_index_search_buttons">
      <%= button Spree.t(:search), 'search' %>
    </div>

  <% end %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_admin_insights-2.1.1 app/views/spree/admin/insights/search/_search_form.html.erb
solidus_admin_insights-2.1.0 app/views/spree/admin/insights/search/_search_form.html.erb