summaryrefslogtreecommitdiff
path: root/app/views/tutorials
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/tutorials')
-rw-r--r--app/views/tutorials/index.html.erb5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/tutorials/index.html.erb b/app/views/tutorials/index.html.erb
index c7935c35..f31926bd 100644
--- a/app/views/tutorials/index.html.erb
+++ b/app/views/tutorials/index.html.erb
@@ -13,7 +13,10 @@
</script>
<% end -%>
<% content_for :page_header do -%>
- <%= link_to 'Add Tutorial', new_tutorial_path, :class => "btn btn-primary" %>
+ <%= link_to 'Add Tutorial', new_tutorial_path, :class => "btn btn-primary pull-right" %>
+ <% Tutorial.tag_counts.each do |tag| %>
+ <a href="?tags=<%= tag.name %>"><span class="label"><%= tag.name %></span></a>
+ <% end %>
<% end -%>
<div id="tutorials-div" class="row">
<div class="span12">