{{#if file}} {{!-- Upload in progress! --}} {{#if failureMessage}}
{{failureMessage}}
{{/if}}
{{#if failureMessage}} {{/if}} {{else}} {{!-- file selection/drag-n-drop --}}
{{#gh-file-input multiple=false alt=description action=(action "fileSelected") accept=accept}}
{{description}}
{{/gh-file-input}} {{#if (and allowUnsplash unsplash.isActive)}}
{{inline-svg "unsplash"}}
{{/if}}
{{/if}} {{#if _showUnsplash}} {{gh-unsplash insert=(action "addUnsplashPhoto") close=(action (toggle "_showUnsplash" this)) }} {{/if}}