aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2015-01-29 12:19:08 +0000
committerGareth Rees <gareth@mysociety.org>2015-01-29 12:19:08 +0000
commit33dd73ea100a23f746b0eeae840d3755c02e15ef (patch)
treed5304e94c77de4c53a64babac9a480680a4f0b8c
parent6e83435b939cf0517e6ab6fb0c73a01ab3da512f (diff)
Tidy tags section of public body csv import
-rw-r--r--app/views/admin_public_body/import_csv.html.erb16
1 files changed, 10 insertions, 6 deletions
diff --git a/app/views/admin_public_body/import_csv.html.erb b/app/views/admin_public_body/import_csv.html.erb
index 3d03a7455..4b481e895 100644
--- a/app/views/admin_public_body/import_csv.html.erb
+++ b/app/views/admin_public_body/import_csv.html.erb
@@ -80,11 +80,15 @@ Another One,another@example.com,Otro organismo,a_tag
<hr>
-<p>Standard tags:
- <% for category, description in PublicBodyCategory.get().by_tag() %>
- <% if category != "other" %>
- <strong><%= category %></strong>=<%= description %>;
- <% end %>
+<div id="standard-tags">
+ <h2>Standard tags:</h2>
+
+ <ul>
+ <% PublicBodyCategory.get().by_tag().each do |category, description| %>
+ <% if category != "other" %>
+ <li><strong><%= category %></strong>=<%= description %></li>
+ <% end %>
<% end %>
- </p>
+ </ul>
+</div>