mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 21:47:59 +01:00
10 lines
No EOL
371 B
Text
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 |