mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
30cebae22c
closes TryGhost/Ghost#7310 - Removes double dashes from modifier classes as safari won’t allow this.
19 lines
546 B
Handlebars
19 lines
546 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}}
|