Sha256: 30c02254be20726ab8b98ed57e7c85e03efc86b32105ca4a314345d93db4175b

Contents?: true

Size: 584 Bytes

Versions: 3

Compression:

Stored size: 584 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
        = flag_tag '{{locale}}'
      {{/with_locale}}
      .locale
      %h5= link_to '{{label}}', '{{url}}'
      .highlight {{{content}}}
      .clear

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
locomotivecms-search-0.3.3 app/views/locomotive/shared/_search_bar.html.haml
locomotivecms-search-0.3.2 app/views/locomotive/shared/_search_bar.html.haml
locomotivecms-search-0.3.0 app/views/locomotive/shared/_search_bar.html.haml