mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-28 05:57:58 +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.fa.fa-pencil>
|
||
|
' Description:
|
||
|
|
||
|
- else
|
||
|
' Description:
|
||
|
|
||
|
.image-description__text
|
||
|
== @body
|