Sha256: 71cd51030601de517dbc2345de6f890761f98e3a3f4e86bdc2712efee9434742
Contents?: true
Size: 628 Bytes
Versions: 6
Compression:
Stored size: 628 Bytes
Contents
<%= form_tag search_path(messageboard), class: 'thredded--form thredded--navigation--search', method: 'get' 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
6 entries across 6 versions & 1 rubygems