philomena/lib/philomena_web/templates/profile/_recent_images.html.slime
2019-12-04 23:53:56 -05:00

10 lines
No EOL
371 B
Text

= if Enum.any?(@images) do
.block
.block__header
span.block__header__title = @title
= if assigns[:view_all_path] do
= link("View all", to: assigns[:view_all_path])
.block__content.js-resizable-media-container
= for image <- @images do
= render PhilomenaWeb.ImageView, "_image_box.html", image: image, size: :thumb, conn: @conn