Sha256: 3ed2c0403b029ae050265487412a9fd18b2062e7028872f798f6675fb050dfef
Contents?: true
Size: 1015 Bytes
Versions: 4
Compression:
Stored size: 1015 Bytes
Contents
=content_for :h1 do #type Catalog #name =@catalog.title -if user_signed_in? %span.action =link_to image_tag("fassets_core/edit.png"), edit_catalog_path(@catalog) #sidebar.fassets_core -if user_signed_in? .collapsible %h2.title Add Facet =form_for [@catalog, Facet.new], :url => catalog_facets_path(@catalog, Facet.new) do |f| =render :partial => "facets/form", :object => f =submit_tag "Create" %ol#facets{"data-update-url" => sort_catalog_facets_url(@catalog)} =render :partial => "facet", :collection => @catalog.facets.all(:order => "position ASC") #catalog_main -if @filter.empty? %h2 Assets -else %h2 Filtered Assets #filter %ul =render :partial => "filter_item", :collection => Label.in(@filter) %li{:style => "clear:both"}=link_to "clear filter", catalog_path(@catalog), :class => "icon remove" %ul#assets =render :partial => "shared/asset", :collection => @assets, :locals => {:tp => nil}
Version data entries
4 entries across 4 versions & 1 rubygems