From aea5643bf62bebc911b83344d757d12cdd004aaa Mon Sep 17 00:00:00 2001 From: Dani Macho Date: Sun, 19 Oct 2014 14:04:18 +0200 Subject: [PATCH] Added new controller and view to show tags grouped alphabetically --- app/views/tags/alpha_grouped_index.html.haml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 app/views/tags/alpha_grouped_index.html.haml diff --git a/app/views/tags/alpha_grouped_index.html.haml b/app/views/tags/alpha_grouped_index.html.haml new file mode 100644 index 0000000..7524a30 --- /dev/null +++ b/app/views/tags/alpha_grouped_index.html.haml @@ -0,0 +1,9 @@ +%h1 Alpha Group Tags#index + + +- @alpha_tags.each do |l,tag| + %h5 + = l + = tag[0] + = tag[1] + %span.glyphicon.glyphicon-tag