aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgorm <gormer@gmail.com>2015-06-09 23:09:25 +0200
committergorm <gormer@gmail.com>2015-06-09 23:09:25 +0200
commitc872cf923a92f081a4a5354bce6b7b141c4fe931 (patch)
tree5dd6fc905e50da5d7605db50fc0b297f861da904
parenta9eec75a11dd66b45e1d3eaf47e8a1d454234f5f (diff)
æ ø & å in body list
-rw-r--r--lib/views/public_body/_alphabet.html.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/views/public_body/_alphabet.html.erb b/lib/views/public_body/_alphabet.html.erb
new file mode 100644
index 0000000..d4c25fd
--- /dev/null
+++ b/lib/views/public_body/_alphabet.html.erb
@@ -0,0 +1,7 @@
+<%- "A".upto("Z") do |l| -%>
+ <%= link_to_unless (@tag == l), l, list_public_bodies_path(:tag => l.downcase) %>
+<% end %>
+
+<%- ['Æ', 'Ø', 'Å'].each do |l| -%>
+ <%= link_to_unless (@tag == l), l, list_public_bodies_path(:tag => l.downcase) %>
+<% end %>