<% unless @tags.blank? %>
  <div class="tag_cloud">                 
    <h3 class="h3"><%= t(:tag_cloud) %></h3>                
    <div class="cloud">     
      <% @tags.each do |tag| %> 
        <%= link_to tag[0].name,  current_path({:tag_id => tag[0].id, :category_id => params[:category_id]}), :class => "#{tag[1]} #{tag[0].id.to_s.eql?(params[:tag_id]) ? 'active' : nil} " %>
      <% end %>
    </div>              
  </div>  
<% end %>