lib/wally/views/layout.haml in wally-0.0.15 vs lib/wally/views/layout.haml in wally-0.0.16

- old
+ new

@@ -15,9 +15,15 @@ %form{:method => "GET", :action => "/search", :id => "search"} %input{:type => "text", :id => "q", :name => "q", :placeholder => 'text, @tags etc.', :value => @q } %input.btn{:type => "submit", :id => "search", :value => "Search"} %div.container-fluid %div.sidebar + - if @tag_count.any? + %h2 Tags + - @tag_count.each do |tag, count| + %span.label.notice + %a{:href => "/search?q=#{tag}"} + = "#{tag} (#{count})" %h2 Features %ul - @features.each do |feature| = haml :feature_link, {:locals => {:feature => feature}, :layout => false}