silverstripe-widgets/templates/WidgetEditor.ss

14 lines
473 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" />
2013-07-08 12:28:02 +02:00
<p class="deleteWidget"><span class="widgetDelete ss-ui-button"><% _t('WidgetEditor_ss.DELETE', 'Delete') %></span></p>
2012-04-18 23:15:45 +02:00
</div>