philomena/lib/philomena_web/templates/profile/_recent_galleries.html.slime

9 lines
379 B
Text
Raw Normal View History

2019-12-05 05:53:56 +01:00
= if Enum.any?(@galleries) do
.block
.block__header
span.block__header__title Recent Galleries
= link "View all", to: Routes.gallery_path(@conn, :index, gallery: [creator: @user.name])
.block__content.js-resizable-media-container
= for gallery <- @galleries do
= render PhilomenaWeb.GalleryView, "_gallery.html", gallery: gallery, conn: @conn