2016-04-10 15:55:56 +02:00
|
|
|
<div class='file-dropper-holder'>
|
2016-06-23 11:41:52 +02:00
|
|
|
<input type='file' id='<%- ctx.id %>'/>
|
2016-08-20 22:47:26 +02:00
|
|
|
<label class='file-dropper' for='<%- ctx.id %>' role='button'>
|
2016-05-21 09:45:43 +02:00
|
|
|
<% if (ctx.allowMultiple) { %>
|
2016-04-10 15:55:56 +02:00
|
|
|
Drop files here!
|
2016-05-09 20:07:54 +02:00
|
|
|
<% } else { %>
|
2016-04-10 15:55:56 +02:00
|
|
|
Drop file here!
|
2016-05-09 20:07:54 +02:00
|
|
|
<% } %>
|
2016-04-10 15:55:56 +02:00
|
|
|
<br/>
|
|
|
|
Or just click on this box.
|
|
|
|
</label>
|
2016-08-20 22:31:22 +02:00
|
|
|
<% if (ctx.allowUrls) { %>
|
|
|
|
<input type='text' name='url' placeholder='Alternatively, paste an URL here.'/>
|
|
|
|
<button>Add URL</button>
|
|
|
|
<% } %>
|
2016-04-10 15:55:56 +02:00
|
|
|
</div>
|