= render PhilomenaWeb.ImageView, "_image_meta.html", image: @image
= render PhilomenaWeb.ImageView, "_image_page.html", image: @image
.layout--narrow
.image-description
div
p
| Description:
.image-description__text
== @description
.js-tagsauce id="image_tags_and_source_#{@image.id}"
.tagsauce
= render PhilomenaWeb.TagView, "_tag_list.html", tags: display_order(@image.tags)
.block
.flex.flex--wrap#image-source
= if !!@image.source_url and @image.source_url != "" do
a href=@image.source_url = @image.source_url
- else
em> no source provided yet
h4 Comments
#comments data-current-url="" data-loaded="true"
= for {comment, body} <- @comments do
= render PhilomenaWeb.CommentView, "_comment.html", comment: comment, body: body