diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/views/layout.erb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/web/views/layout.erb b/web/views/layout.erb index 4c8da82..2665ac9 100644 --- a/web/views/layout.erb +++ b/web/views/layout.erb @@ -51,7 +51,14 @@ <li><a href="/about"><%= h(t.taginfo.about) %></a></li> <% unless @nosearch %> <li> - <form id="search_form" action="/search"><input type="text" id="search" name="q" value="<%= h(params[:q]) %>"/></form> + <form id="search_form" action="/search"> + <input type="text" + id="search" + name="q" + value="<%= h(params[:q]) %>" + placeholder="Search" + /> + </form> </li> <% end %> </ul> |