mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-18 15:08:00 +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
|