Sha256: 57504dd98863e500935da58281f39a4fa49a3b4e5681357976930efa9d0c0112

Contents?: true

Size: 738 Bytes

Versions: 54

Compression:

Stored size: 738 Bytes

Contents

<%= form_tag search_path(messageboard),
             method: 'get',
             class: 'thredded--form thredded--navigation--search thredded--navigation--search-topics',
             'data-thredded-turboform' => true do %>
  <%= label_tag :q, t('thredded.search.form.label') %>
  <%= text_field_tag :q, @query,
                     type:        'search',
                     required:    true,
                     # If there are no results the user will likely want to change the query, so auto-focus.
                     autofocus:   @query.presence && !@topics.presence,
                     placeholder: t('thredded.search.form.placeholder') %>
  <button type="submit"><%= t 'thredded.search.form.btn_submit' %></button>
<% end %>

Version data entries

54 entries across 54 versions & 2 rubygems

Version Path
thredded-1.1.0 app/views/thredded/search/_form.html.erb
thredded-1.0.1 app/views/thredded/search/_form.html.erb
thredded-1.0.0 app/views/thredded/search/_form.html.erb
thredded-0.16.16 app/views/thredded/search/_form.html.erb
thredded-0.16.15 app/views/thredded/search/_form.html.erb
thredded-0.16.14 app/views/thredded/search/_form.html.erb
thredded-0.16.13 app/views/thredded/search/_form.html.erb
thredded-0.16.12 app/views/thredded/search/_form.html.erb
thredded-0.16.11 app/views/thredded/search/_form.html.erb
thredded-0.16.10 app/views/thredded/search/_form.html.erb
thredded-0.16.9 app/views/thredded/search/_form.html.erb
thredded-0.16.8 app/views/thredded/search/_form.html.erb
thredded-0.16.7 app/views/thredded/search/_form.html.erb
thredded-0.16.6 app/views/thredded/search/_form.html.erb
thredded-0.16.5 app/views/thredded/search/_form.html.erb
thredded-0.16.4 app/views/thredded/search/_form.html.erb
thredded-0.16.3 app/views/thredded/search/_form.html.erb
thredded-0.16.1 app/views/thredded/search/_form.html.erb
thredded-0.16.0 app/views/thredded/search/_form.html.erb
thredded-0.15.5 app/views/thredded/search/_form.html.erb