Sha256: b60d31e9a0184bf6437211278a598a6a6bcc832301260f2dee594690545f2461

Contents?: true

Size: 974 Bytes

Versions: 2

Compression:

Stored size: 974 Bytes

Contents

<div id="search-container">
  <div class="offset-container"></div>

  <div class="inner-container">
    <%= form_tag(settings_path, method: :get, id: "search-form") do %>
      <input type="text" name="query" id="query"
             placeholder="<%= I18n.t("sail.search_placeholder") %>"
             title="<%= I18n.t("sail.search_tooltip") %>">
    <% end %>

    <div id="progress-container">
      <progress id="search-submit-progress" value="0" max="100"></progress>
    </div>
  </div>

  <button id="btn-order" title="<%= I18n.t("sail.order_button_tooltip") %>"><%= image_tag("sail/sort.svg") %></button>
  <%= render(partial: "sort_menu") %>

  <% if main_app.respond_to?(Sail.configuration.back_link_path.to_s) %>
    <%= link_to(main_app.method(Sail.configuration.back_link_path).call, method: :get, id: "main-app-link", title: I18n.t("sail.main_app")) do %>
      <%= image_tag("sail/link.svg") %>
    <% end %>
  <% end %>

  <div class="clearfix"></div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sail-2.1.1 app/views/sail/settings/_search.html.erb
sail-2.1.0 app/views/sail/settings/_search.html.erb