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.rhtml10
1 files changed, 4 insertions, 6 deletions
diff --git a/app/views/general/frontpage.rhtml b/app/views/general/frontpage.rhtml
index f412a6964..f1bee3ba1 100644
--- a/app/views/general/frontpage.rhtml
+++ b/app/views/general/frontpage.rhtml
@@ -1,4 +1,4 @@
-<% view_cache :ttl => 5.minutes do %>
+
<div id="frontpage_search">
<h1><%= _('Make or explore Freedom of Information requests') %></h1>
@@ -30,13 +30,11 @@
<div id="frontpage_examples">
<% if @popular_bodies.size > 0 %>
<div id="examples_0">
- <ul>
<% for popular_body in @popular_bodies %>
- <li><%=public_body_link(popular_body)%>
- <%= n_('%d request', '%d requests', popular_body.info_requests.count) % popular_body.info_requests.count %>
+ <li><%=public_body_link(popular_body)%>
+ <%= n_('%d request', '%d requests', popular_body.info_requests.count) % popular_body.info_requests.count %>
</li>
<% end%>
- </ul>
<p><strong>
<%= link_to _('More authorities...'), list_public_bodies_default %>
</strong></p>
@@ -57,4 +55,4 @@
<% end %>
</div>
-<% end %>
+