Sha256: 24c9712faf313ec2406314424e5f97debdc249d5d91996e83bb481dbd2bb6c72

Contents?: true

Size: 433 Bytes

Versions: 4

Compression:

Stored size: 433 Bytes

Contents

= search_form_for @q, url: search_admin_pages_path, html: { method: :get, class: 'search-form' } do |f|
  = hidden_field_tag :site_id, @site_id
  .page-search
    %i.fas.fa-search
    = f.search_field :title, value: title, placeholder: 'Search by Page Title', id: 'search-input'
    %input.button{ type: 'submit', value: 'Search' }
    - if show_view_all_button
      = link_to t("view_all_pages"), admin_pages_path, class: 'button'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trusty-cms-7.0.9.1 app/views/admin/pages/_search_form.html.haml
trusty-cms-7.0.11 app/views/admin/pages/_search_form.html.haml
trusty-cms-7.0.10 app/views/admin/pages/_search_form.html.haml
trusty-cms-7.0.9 app/views/admin/pages/_search_form.html.haml