users: inline search form on /users index page.
* Add the user search form to the /users page. * Remove the /users/search page.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<% content_for(:secondary_links) do %>
|
||||
<%= quick_search_form_for(:name_matches, users_path, "users", autocomplete: "user", redirect: true) %>
|
||||
<%= subnav_link_to "Listing", users_path %>
|
||||
<%= subnav_link_to "Search", search_users_path %>
|
||||
|
||||
<% if CurrentUser.user.is_anonymous? %>
|
||||
<%= subnav_link_to "Sign up", new_user_path %>
|
||||
|
||||
Reference in New Issue
Block a user