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