Sha256: b49c753b449e0d4a41573f692e9f4f603492087e61deed17d3212e2931c12148

Contents?: true

Size: 1.53 KB

Versions: 30

Compression:

Stored size: 1.53 KB

Contents

<%= tag.div id: dom_id(@refine_filter_builder, "query"), class: 'refine-query-container', data: {
  controller: "refine--state",
  refine__state_conditions_value: @refine_filter_query.available_conditions_attributes.to_json,
  refine__state_blueprint_value: @refine_filter_query.blueprint.to_json,
  refine__state_class_name_value: @refine_filter_query.configuration[:class_name],
  refine__state_refresh_url_value: refine_blueprint_path,
  refine__state_client_id_value: @refine_filter_builder.client_id,
  refine__state_default_condition_id_value: @refine_filter_query.filter.default_condition_id,
  refine__state_validate_blueprint_url_value: validate_refine_blueprint_path } do %>
  <%= content_tag :div, class: "refine-query-content-container" do %>
    <div
      class="refine-query-loading-container <%= "hidden" unless action_name == "create" %>"
      id="refine-loader"
      data-refine--state-target="loading">
      <p class="refine-query-loading-text"><%= t("refine.refine_blueprints.query.loading") %></p>
    </div>

    <%= tag.div id: dom_id(@refine_filter_builder, "groups") do %>
      <% @refine_filter_query.grouped_criteria.each_with_index do |criteria, index| %>
        <% if index > 0 %>
          <p class="refine-query-or"><%= t("refine.refine_blueprints.query.query_or") %></p>
        <% end %>
        <%= render partial: 'refine/blueprints/group', locals: {
          criteria: criteria,
          group_id: index }
        %>
      <% end %>

    <% end %>

    <%= render 'refine/blueprints/add_group' %>
  <% end %>
<% end %>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
refine-rails-2.9.9 app/views/refine/blueprints/_query.html.erb
refine-rails-2.9.8 app/views/refine/blueprints/_query.html.erb
refine-rails-2.9.7 app/views/refine/blueprints/_query.html.erb
refine-rails-2.9.6 app/views/refine/blueprints/_query.html.erb
refine-rails-2.9.5 app/views/refine/blueprints/_query.html.erb
refine-rails-2.9.4 app/views/refine/blueprints/_query.html.erb
refine-rails-2.9.3 app/views/refine/blueprints/_query.html.erb
refine-rails-2.9.2 app/views/refine/blueprints/_query.html.erb
refine-rails-2.9.1 app/views/refine/blueprints/_query.html.erb
refine-rails-2.9.0 app/views/refine/blueprints/_query.html.erb