forked from e621ng/e621ng
adjust search box to give a hint on searching for videos
This commit is contained in:
parent
94af5fe262
commit
512b5d97aa
@ -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 %>
|
||||
</section>
|
||||
|
@ -8,7 +8,7 @@
|
||||
<br/>
|
||||
|
||||
<%= 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 %>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user