mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
19 lines
548 B
Handlebars
19 lines
548 B
Handlebars
{{#if image}}
|
|
<div class="gh-image-uploader -with-image">
|
|
<div><img src={{image}}></div>
|
|
<a class="image-cancel icon-trash" title="Delete" {{action "remove"}}>
|
|
<span class="hidden">Delete</span>
|
|
</a>
|
|
</div>
|
|
{{else}}
|
|
{{gh-image-uploader
|
|
text=text
|
|
altText=altText
|
|
update=(action 'update')
|
|
onInput=(action 'onInput')
|
|
uploadStarted=(action 'uploadStarted')
|
|
uploadFinished=(action 'uploadFinished')
|
|
formChanged=(action 'formChanged')
|
|
}}
|
|
{{/if}}
|