aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/general/frontpage.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/general/frontpage.rhtml')
-rw-r--r--app/views/general/frontpage.rhtml5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/general/frontpage.rhtml b/app/views/general/frontpage.rhtml
index 959ccd8c6..ee88d23a1 100644
--- a/app/views/general/frontpage.rhtml
+++ b/app/views/general/frontpage.rhtml
@@ -21,10 +21,7 @@
<%= hidden_field_tag 'bodies', 1 %>
<%= image_submit_tag 'button-search.png', :title => 'Search' %>
<br>
- <%= _('e.g.') %>
- <% @search_examples.each_with_index do |name, i| %>
- <%=link_to name, search_url(name, 'bodies')%><% if i < 2 %>, <% else %>. <% break %><% end %>
- <% end %>
+ <%= render :partial => 'frontpage_search_examples' %>
<% end %>
</div>
</div>