wiki: include search form on search results page.

Include the search form on the search results page so you can more
easily refine your search.
This commit is contained in:
evazion
2020-12-17 20:35:38 -06:00
parent 25069865b7
commit 2c92794eba
3 changed files with 12 additions and 11 deletions

View File

@@ -3,6 +3,8 @@
<% content_for(:content) do %>
<h1>Wiki</h1>
<%= render "search" %>
<%= table_for @wiki_pages, width: "100%" do |t| %>
<% t.column "Title" do |wiki_page| %>
<span class="<%= tag_class(wiki_page.tag) %>"><%= link_to_wiki wiki_page.title %></span>