Sha256: a97172a887fa070beedbdcde6f54da5cebac3c0a7ffb2315b821ea77526f9592

Contents?: true

Size: 607 Bytes

Versions: 1

Compression:

Stored size: 607 Bytes

Contents

%li.facet{:id => "facet_"+facet.id.to_s }
  .caption{:class => facet.color}
    =facet.caption
    -if user_signed_in?
      =link_to image_tag("fassets_core/edit.png"), edit_catalog_facet_path(@catalog, facet)
      %span.handle=image_tag("fassets_core/drag.png")
  %ul{:class => "#{facet.color}_lite"}
    -facet.labels.each do |label|
      -if @counts[label.id] && !@filter.include?(label.id)
        %li.label
          =link_to label.caption, catalog_path(@catalog, :filter => @filter.to_query_include(label.id))
          -if @counts[label.id] > 1
            %span.count="#{@counts[label.id]}&#215"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fassets_core-0.2.0 app/views/catalogs/_facet.html.haml