silverstripe-widgets/templates/WidgetEditor.ss

14 lines
457 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 ss-ui-button"><% _t('DELETE', 'Delete') %></span></p>
2012-04-18 23:15:45 +02:00
</div>