Search on the same URL by default

This commit is contained in:
Javi Martín
2020-12-03 17:43:14 +01:00
parent e33794e45e
commit cf510043a4
10 changed files with 14 additions and 33 deletions

View File

@@ -1,9 +1,6 @@
<h2><%= t("moderation.users.index.title") %></h2>
<%= render Admin::SearchComponent.new(
url: moderation_users_path,
label: t("moderation.users.index.search_placeholder")
) %>
<%= render Admin::SearchComponent.new(label: t("moderation.users.index.search_placeholder")) %>
<% if @users.present? %>
<h3><%= page_entries_info @users %></h3>