Sha256: c36a9226a966ca0c33748af5f9399468efaa49217742495f657e8e16c771503f

Contents?: true

Size: 388 Bytes

Versions: 3

Compression:

Stored size: 388 Bytes

Contents

<% query ||= "" %>
<%= form_tag(search_admin_pages_path(@locale),
             method: "get",
             class: "search-bar") do %>
  <%= text_field_tag(:q, query,
                     placeholder: "Search all pages",
                     aria: { label: "Search all pages" }) %>
  <button type="submit">
    <i class="fa-solid fa-magnifying-glass"></i>
    Search
  </button>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pages_core-3.12.4 app/views/admin/pages/_search_bar.html.erb
pages_core-3.12.3 app/views/admin/pages/_search_bar.html.erb
pages_core-3.12.2 app/views/admin/pages/_search_bar.html.erb