philomena/lib/philomena_web/templates/image/_description.html.slime

13 lines
364 B
Text
Raw Normal View History

2019-11-29 06:39:15 +01:00
div
p
= if can?(@conn, :edit_description, @image) do
a.button#edit-description href="#" data-click-focus="#description" data-click-hide=".image-description" data-click-show="#description-form" title="Edit description" accessKey="d"
2019-12-06 22:38:36 +01:00
i.fas.fa-edit>
2019-11-29 06:39:15 +01:00
' Description:
- else
' Description:
.image-description__text
2019-12-06 22:38:36 +01:00
== @body