aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorPhilip Arndt <git@p.arndt.io>2015-05-18 18:17:56 +1200
committerPhilip Arndt <git@p.arndt.io>2015-05-18 18:20:50 +1200
commit138aa4d395fee81b3538eedf2aa0c00cd158e3ed (patch)
tree20cc961c92c20cd7bd602b0acaff0302d5182e06 /app/views
parent7b6ae1eca13ff120d5abd9816d7c22f339d52e2e (diff)
downloadrefinerycms-blog-138aa4d395fee81b3538eedf2aa0c00cd158e3ed.tar.gz
refinerycms-blog-138aa4d395fee81b3538eedf2aa0c00cd158e3ed.tar.bz2
refinerycms-blog-138aa4d395fee81b3538eedf2aa0c00cd158e3ed.zip
Suppress search form output when there's nothing.
Diffstat (limited to 'app/views')
-rw-r--r--app/views/refinery/blog/admin/_submenu.html.erb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/refinery/blog/admin/_submenu.html.erb b/app/views/refinery/blog/admin/_submenu.html.erb
index 03426b7..5f67405 100644
--- a/app/views/refinery/blog/admin/_submenu.html.erb
+++ b/app/views/refinery/blog/admin/_submenu.html.erb
@@ -1,8 +1,6 @@
<nav id='actions' class='multilist'>
<ul class='search_list'>
- <li class='not_a_link'>
- <%= render "/refinery/admin/search", :url => request.path %>
- </li>
+ <li class='not_a_link'><%= render "/refinery/admin/search", :url => request.path -%></li>
</ul>
<ul class='collapsible_menu'>