philomena/lib/philomena_web/templates/image/_description.html.slime
2019-11-29 00:39:15 -05:00

12 lines
No EOL
364 B
Text

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"
i.fa.fa-pencil>
' Description:
- else
' Description:
.image-description__text
== @body