2012-04-16 15:55:19 +02:00
|
|
|
<form $FormAttributes data-layout-type="border">
|
|
|
|
|
2016-10-04 06:34:16 +02:00
|
|
|
<div class="panel panel--padded panel--scrollable flexbox-area-grow cms-content-fields ">
|
2013-07-18 13:14:29 +02:00
|
|
|
<% if $Message %>
|
2018-09-13 18:48:13 +02:00
|
|
|
<p id="{$FormName}_error" class="alert $AlertType">$Message</p>
|
2012-04-16 15:55:19 +02:00
|
|
|
<% else %>
|
2018-09-13 18:48:13 +02:00
|
|
|
<p id="{$FormName}_error" class="alert $AlertType" style="display: none"></p>
|
2012-04-16 15:55:19 +02:00
|
|
|
<% end_if %>
|
|
|
|
|
|
|
|
<fieldset>
|
2013-07-18 13:14:29 +02:00
|
|
|
<% if $Legend %><legend>$Legend</legend><% end_if %>
|
|
|
|
<% loop $Fields %>
|
2012-04-16 15:55:19 +02:00
|
|
|
$FieldHolder
|
2012-05-18 06:32:44 +02:00
|
|
|
<% end_loop %>
|
2012-04-16 15:55:19 +02:00
|
|
|
<div class="clear"><!-- --></div>
|
|
|
|
</fieldset>
|
|
|
|
</div>
|
|
|
|
|
2016-05-23 03:50:12 +02:00
|
|
|
<div class="toolbar--south cms-content-actions cms-content-controls south">
|
2013-07-18 13:14:29 +02:00
|
|
|
<% if $Actions %>
|
2016-05-23 03:50:12 +02:00
|
|
|
<div class="btn-toolbar">
|
2013-07-18 13:14:29 +02:00
|
|
|
<% loop $Actions %>
|
2016-09-21 05:02:06 +02:00
|
|
|
$FieldHolder
|
2012-05-18 06:32:44 +02:00
|
|
|
<% end_loop %>
|
2013-07-18 13:14:29 +02:00
|
|
|
<% if $Controller.LinkPreview %>
|
2012-12-04 22:43:20 +01:00
|
|
|
<a href="$Controller.LinkPreview" target="_cmsPreview" class="cms-preview-toggle-link ss-ui-button" data-icon="preview">
|
2017-05-19 02:11:46 +02:00
|
|
|
<%t SilverStripe\Admin\LeftAndMain.PreviewButton 'Preview' %> »
|
2012-12-04 22:43:20 +01:00
|
|
|
</a>
|
|
|
|
<% end_if %>
|
2013-07-18 13:14:29 +02:00
|
|
|
|
2022-09-30 12:19:49 +02:00
|
|
|
<% include SilverStripe\\Admin\\LeftAndMain_ViewModeSelector SelectID="preview-mode-dropdown-in-content", ExtraClass='' %>
|
2012-04-16 15:55:19 +02:00
|
|
|
</div>
|
|
|
|
<% end_if %>
|
|
|
|
</div>
|
2012-11-28 22:24:27 +01:00
|
|
|
</form>
|