diff --git a/app/views/posts/partials/common/_search.html.erb b/app/views/posts/partials/common/_search.html.erb index 051a9a259..ba073ca3b 100644 --- a/app/views/posts/partials/common/_search.html.erb +++ b/app/views/posts/partials/common/_search.html.erb @@ -9,7 +9,7 @@ <%= hidden_field_tag :random, params[:random] %> <% end %> - <%= text_area_tag("tags", tags, placeholder: "Search posts by tag", rows: 1, data: { shortcut: "q", autocomplete: "tag-query" }) %> + <%= text_area_tag("tags", tags, placeholder: "Search posts by tag (title:\"video name\")", rows: 1, data: { shortcut: "q", autocomplete: "tag-query" }) %> <%= tag.button(tag.i(class: "fa-solid fa-magnifying-glass"), type: "submit", title: "Search") %> <% end %> diff --git a/app/views/static/home.html.erb b/app/views/static/home.html.erb index 26952516c..ebe4ea248 100644 --- a/app/views/static/home.html.erb +++ b/app/views/static/home.html.erb @@ -8,7 +8,7 @@
<%= form_tag(posts_path, method: "get", class: "home-search") do %> - <%= text_field_tag("tags", "", autofocus: "autofocus", placeholder: "Search posts by tag (or with title:\"video name\")", data: { shortcut: "q", autocomplete: "tag-query" }) %> + <%= text_field_tag("tags", "", autofocus: "autofocus", placeholder: "Search posts by tag (title:\"video name\")", data: { shortcut: "q", autocomplete: "tag-query" }) %> <%= tag.button(tag.i(class: "fa-solid fa-magnifying-glass"), type: "submit") %> <% end %>