add more quick searches
comments, notes, and users
This commit is contained in:
4
app/views/notes/_quick_search.html.erb
Normal file
4
app/views/notes/_quick_search.html.erb
Normal file
@@ -0,0 +1,4 @@
|
||||
<%= form_tag(notes_path, :method => :get) do %>
|
||||
<%= hidden_field_tag "group_by", "note" %>
|
||||
<%= text_field "search", "body_matches", :placeholder => "Search notes" %>
|
||||
<% end %>
|
||||
@@ -1,5 +1,6 @@
|
||||
<% content_for(:secondary_links) do %>
|
||||
<menu>
|
||||
<li><%= render "quick_search" %></li>
|
||||
<li><%= link_to "Listing", notes_path(:group_by => "post") %></li>
|
||||
<li><%= link_to "Search", search_notes_path %></li>
|
||||
<li><%= link_to "History", note_versions_path %></li>
|
||||
|
||||
Reference in New Issue
Block a user