Sha256: 9925d40e4dddab6eca148c9bcf5a227ae78b30ffe837941af17c6cdc0be534bf

Contents?: true

Size: 657 Bytes

Versions: 5

Compression:

Stored size: 657 Bytes

Contents

<%= form_tag users_moderation_path, class: 'thredded--form thredded--navigation--search', method: 'get' do %>
  <%= label_tag :q, t('thredded.moderation.search_users.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 && !@users.presence,
                     placeholder: t('thredded.moderation.search_users.form_placeholder') %>
  <button type="submit"><%= t 'thredded.search.form.btn_submit' %></button>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
thredded-0.7.0 app/views/thredded/moderation/_users_search_form.html.erb
thredded-0.6.3 app/views/thredded/moderation/_users_search_form.html.erb
thredded-0.6.2 app/views/thredded/moderation/_users_search_form.html.erb
thredded-0.6.1 app/views/thredded/moderation/_users_search_form.html.erb
thredded-0.6.0 app/views/thredded/moderation/_users_search_form.html.erb