mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
15 lines
870 B
Scheme
15 lines
870 B
Scheme
<div class="ss-uploadfield-item ss-uploadfield-addfile field ss-uploadfield">
|
|
|
|
<div class="ss-uploadfield-item-info">
|
|
<label class="btn btn-secondary font-icon-upload btn--icon-xl ss-uploadfield-fromcomputer" title="<%t AssetUploadField.FROMCOMPUTERINFO 'Upload from your computer' %>">
|
|
<%t AssetUploadField.TOUPLOAD 'Upload files' %>
|
|
<input id="$id" name="$getName" class="$extraClass ss-uploadfield-fromcomputer-fileinput" data-config="$configString" type="file"<% if $multiple %> multiple="multiple"<% end_if %> title="<%t AssetUploadField.FROMCOMPUTER 'Choose files from your computer' %>" />
|
|
</label>
|
|
<button class="btn btn-secondary font-icon-link btn--icon-large upload-url"><%t AssetUploadField.INSERTURL 'Insert from URL' %></button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="ss-uploadfield-editandorganize">
|
|
<ul class="ss-uploadfield-files files"></ul>
|
|
</div>
|