Sha256: 33240a49a64936f770f3106992a6a76bfb09066d55bae35278a2e0cc5ad593b8

Contents?: true

Size: 731 Bytes

Versions: 9

Compression:

Stored size: 731 Bytes

Contents

<%= form_tag users_moderation_path,
             method: 'get',
             class: 'thredded--form thredded--navigation--search',
             'data-thredded-turboform' => true 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

9 entries across 9 versions & 1 rubygems

Version Path
thredded-0.11.0 app/views/thredded/moderation/_users_search_form.html.erb
thredded-0.10.1 app/views/thredded/moderation/_users_search_form.html.erb
thredded-0.10.0 app/views/thredded/moderation/_users_search_form.html.erb
thredded-0.9.4 app/views/thredded/moderation/_users_search_form.html.erb
thredded-0.9.3 app/views/thredded/moderation/_users_search_form.html.erb
thredded-0.9.2 app/views/thredded/moderation/_users_search_form.html.erb
thredded-0.9.1 app/views/thredded/moderation/_users_search_form.html.erb
thredded-0.8.4 app/views/thredded/moderation/_users_search_form.html.erb
thredded-0.8.2 app/views/thredded/moderation/_users_search_form.html.erb