aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2011-09-30 12:04:29 +0100
committerSeb Bacon <seb.bacon@gmail.com>2011-09-30 12:04:29 +0100
commit33001314408389aa94b2e75302a856e380a5ec5d (patch)
tree54a1728100942a0c95c5f7cf08459c90cea35071
parent942c4f484848a248341926a655a48838b47737ed (diff)
Fix bad HTML
-rw-r--r--app/views/public_body/list.rhtml9
1 files changed, 5 insertions, 4 deletions
diff --git a/app/views/public_body/list.rhtml b/app/views/public_body/list.rhtml
index 81593fcc7..af91d8ed2 100644
--- a/app/views/public_body/list.rhtml
+++ b/app/views/public_body/list.rhtml
@@ -4,8 +4,8 @@
<h3><%=_('Beginning with') %></h3>
<ul><li>
<%= render :partial => 'alphabet' %>
- </li></ul>
-
+ </li>
+ </ul>
<% first_row = true %>
<% for row in PublicBodyCategories::get().with_headings() %>
<% if row.instance_of?(Array) %>
@@ -22,8 +22,9 @@
<ul>
<% end %>
<% end %>
- </ul>
-
+ <% if not first_row %>
+ </ul>
+ <% end %>
<p>
<%= _('<a href="%s">Are we missing a public authority?</a>.') % [help_requesting_path + '#missing_body'] %>
</p>