aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2008-03-03 12:55:15 +0000
committerfrancis <francis>2008-03-03 12:55:15 +0000
commita59adaa277f92c6454752e6e482971ea89fb17e1 (patch)
tree0829aaed52b4e064beb90f2559568d3ce9796492
parent1f5fffb17271dc14abed638bea999d41c9ff6810 (diff)
Show tag meanings
-rw-r--r--app/views/admin_public_body/_form.rhtml8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/views/admin_public_body/_form.rhtml b/app/views/admin_public_body/_form.rhtml
index 214aba7dd..a2b2cdd28 100644
--- a/app/views/admin_public_body/_form.rhtml
+++ b/app/views/admin_public_body/_form.rhtml
@@ -5,7 +5,13 @@
<%= text_field 'public_body', 'name', :size => 60 %></p>
<p><label for="public_body_short_name">Short name (also used to make URL, leave blank for same as name. Don't worry about breaking URLs through renaming, as the history is used to redirect)</label><br/>
<%= text_field 'public_body', 'short_name', :size => 60 %></p>
-<p><label for="public_body_tag_string">Tags</label><br/>
+<p><label for="public_body_tag_string">Tags (space separated:
+ <% for category, description in PublicBody.categories_by_tag %>
+ <% if category != "other" %>
+ <strong><%= category %></strong>=<%= description %>;
+ <% end %>
+ <% end %>
+)</label><br/>
<%= text_field 'public_body', 'tag_string', :size => 80 %></p>