<div class="relative">
  <%= link_to t("shared.advanced_search.title"), "#advanced_search_form", id: 'js-advanced-search-title', class: "advanced-search small" %>
</div>

<div class="row advanced-search-form">
  <%= form_tag search_path, id: "advanced_search_form", method: :get do %>
    <div id='js-advanced-search' data-advanced-search-terms=<%= @advanced_search_terms.present? %> style="display: none">

      <div class="small-12 column">
        <label for="search">
          <%= t("shared.advanced_search.general") %>
        </label>
        <%= text_field_tag "search", params[:search],
                           placeholder: t("shared.advanced_search.general_placeholder") %>
      </div>
      <%# Pas de official level dans CDJ Aude%>


      <div class="small-12 large-9">
        <div class="small-12 large-4 column">
          <label for="js-advanced-search-date-min"><%= t("shared.advanced_search.date") %></label>
          <%= select_tag('advanced_search[date_min]', date_range_options,
                        include_blank: t("shared.advanced_search.date_range_blank"),
                        id: 'js-advanced-search-date-min') %>
        </div>

        <div id='js-custom-date' class='small-12 large-8 column' style="display: none">
          <div class="row">
            <div class='small-12 large-6 column'>
              <label for="advanced_search_date_min">
                <%= t("shared.advanced_search.from") %> (<%= t("shared.advanced_search.date_placeholder") %>)
              </label>
              <%= text_field_tag 'advanced_search[date_min]',
                                  params[:advanced_search].try(:[], :date_min),
                                  class: 'js-calendar' %>
            </div>
            <div class='small-12 large-6 column'>
              <label for="advanced_search_date_max">
                <%= t("shared.advanced_search.to") %> (<%= t("shared.advanced_search.date_placeholder") %>)
              </label>
              <%= text_field_tag 'advanced_search[date_max]',
                                  params[:advanced_search].try(:[], :date_max),
                                  class: 'js-calendar' %>
            </div>
          </div>
        </div>
      </div>

      <div class="small-12 medium-3 column end clear">
        <%= submit_tag t("shared.advanced_search.search"), class: 'button expanded' %>
      </div>

    </div>
  <% end %>
</div>

Remove official levels from search fields
Remove official levels from search fields
