silverstripe-framework/templates/Includes/HtmlEditorField_viewfile.ss

16 lines
460 B
Scheme

<div class="ss-htmleditorfield-file $appCategory" data-id="$File.ID" data-url="$URL">
<div class="overview">
<span class="thumbnail">$Preview</span>
<span class="title">$Name</span>
<a href="#" class="action-delete ui-state-default">
<span class="ui-button-icon-primary ui-icon btn-icon-cross-circle"></span>
</a>
</div>
<div class="details">
<fieldset>
<% control Fields %>
$FieldHolder
<% end_control %>
</fieldset>
</div>
</div>