Sha256: a82234b8c84110845bd475aac3e2ebba2b6e3cb4989f7635fd6d8d1b3aa459d5

Contents?: true

Size: 395 Bytes

Versions: 5

Compression:

Stored size: 395 Bytes

Contents

<% query ||= "" %>
<%= form_tag(search_admin_pages_path(content_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

5 entries across 5 versions & 1 rubygems

Version Path
pages_core-3.14.0 app/views/admin/pages/_search_bar.html.erb
pages_core-3.13.0 app/views/admin/pages/_search_bar.html.erb
pages_core-3.12.7 app/views/admin/pages/_search_bar.html.erb
pages_core-3.12.6 app/views/admin/pages/_search_bar.html.erb
pages_core-3.12.5 app/views/admin/pages/_search_bar.html.erb