silverstripe-widgets/templates/WidgetEditor.ss

15 lines
476 B
Scheme
Raw Normal View History

2012-04-18 23:15:45 +02:00
<div class="$ClassName Widget" id="$Name">
<h3 class="handle">$CMSTitle</h3>
<div class="widgetDescription">
<p>$Description</p>
</div>
<% if $CMSEditor %>
2012-04-18 23:15:45 +02:00
<div class="widgetFields">
$CMSEditor
</div>
<% end_if %>
<input type="hidden" name="$Name[Type]" value="$ClassName" />
<input type="hidden" name="$Name[Sort]" value="$Sort" />
<p class="deleteWidget"><span class="widgetDelete btn btn-danger"><% _t('WidgetEditor_ss.DELETE', 'Delete') %></span></p>
</div>