<form class="search-form form-inline">
  <%= react_component("Filters", @searcher_serializer.as_json.merge({
    controllerName: Settings.filters_beta.present? ? controller_name.to_json : nil,
  })) %>
  <div class="search-footer">
    <%= search_examples %>
    <a href="#"><%= t('search.help_link') %></a>
  </div>
</form>

<%# help search modal %>
<div class="modal fade" id="search-help-modal" tabindex="-1" role="dialog">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title"><%= t("search.help_title") %></h4>
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
      </div>
      <div class="modal-body">
         <%= tmd("search.help_text.#{controller_name}", search_help_text_params) %>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal"><%= I18n.t("common.close") %></button>
      </div>
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div><!-- /.modal -->

<%= javascript_doc_ready do %>
  ELMO.searchFormView = new ELMO.Views.SearchFormView();
<% end %>

<form class="search-form form-inline">
  <%= react_component("Filters", @searcher_serializer.as_json.merge({
    controllerName: Settings.filters_beta.present? ? controller_name.to_json : nil,
  })) %>
  <div class="search-footer">
    <%= Settings.filters_beta.present? && controller.is_a?(ResponsesController) ? nil : search_examples %>
    <a href="#"><%= t('search.help_link') %></a>
  </div>
</form>

<%# help search modal %>
<div class="modal fade" id="search-help-modal" tabindex="-1" role="dialog">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title"><%= t("search.help_title") %></h4>
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
      </div>
      <div class="modal-body">
         <%= tmd("search.help_text.#{controller_name}", search_help_text_params) %>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal"><%= I18n.t("common.close") %></button>
      </div>
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div><!-- /.modal -->

<%= javascript_doc_ready do %>
  ELMO.searchFormView = new ELMO.Views.SearchFormView();
<% end %>

Remove search examples if filter buttons are present
9733: Remove search examples if filter buttons are present
