Sha256: 7b7d6e8575af4fdc4150e1730dbe32a42137f29608eacec315831169be1be015
Contents?: true
Size: 607 Bytes
Versions: 73
Compression:
Stored size: 607 Bytes
Contents
%h1 #{@user.profile.alias}'s Galleries %ul - @galleries.each do |gallery| %li %h2= link_to (gallery.name || "No name"), gallery_path(gallery, ckeditor_params) - unless gallery.images.empty? = image_tag gallery.images[0].image.url(:medium) - if can? :update, gallery = link_to 'Edit', edit_gallery_path(gallery, ckeditor_params) - if can? :manage, gallery = link_to 'Destroy', gallery_path(gallery, ckeditor_params), "data-confirm"=>"Sure? All the images from this gallery will be gone...", :method=>"delete" = link_to 'New gallery', new_gallery_path
Version data entries
73 entries across 73 versions & 1 rubygems