Sha256: e5d01c447589190d2abaee246df937d70c751c9770b484b4bb31c6c4fbf1295e

Contents?: true

Size: 652 Bytes

Versions: 2

Compression:

Stored size: 652 Bytes

Contents

#search-bar
  %form{ action: main_app.locomotive_search_path(:json) }
    %input{ type: 'text', name: 'keywords', placeholder: 'Search for keywords within pages and content entries' }

%script{ type: 'text/html', id: 'no_search_entries_found' }
  .empty-message= t('.no_entries_found')

%script{ type: 'text/html', id: 'search_entry' }
  .search-entry
    .inner
      .type {{search_type}}
      {{#with_locale}}
      .locale{ class: '{{locale}}' }
        - current_site.locales.each do |locale|
          = flag_tag locale
      {{/with_locale}}
      .locale
      %h5= link_to '{{label}}', '{{path}}'
      .highlight {{{content}}}
      .clear

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
locomotivecms-search-0.3.6 app/views/locomotive/shared/_search_bar.html.haml
locomotivecms-search-0.3.5 app/views/locomotive/shared/_search_bar.html.haml