mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 21:47:59 +01:00
12 lines
364 B
Text
12 lines
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.fas.fa-edit>
|
|
' Description:
|
|
|
|
- else
|
|
' Description:
|
|
|
|
.image-description__text
|
|
== @body
|