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 %>
|
2012-04-16 15:55:19 +02:00
|
|
|
<p id="{$FormName}_error" class="message $MessageType">$Message</p>
|
|
|
|
<% else %>
|
|
|
|
<p id="{$FormName}_error" class="message $MessageType" style="display: none"></p>
|
|
|
|
<% 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-08 07:57:24 +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
|
|
|
|
2016-08-11 04:10:51 +02:00
|
|
|
<% include SilverStripe\\Admin\\LeftAndMain_ViewModeSelector SelectID="preview-mode-dropdown-in-content" %>
|
2012-04-16 15:55:19 +02:00
|
|
|
</div>
|
|
|
|
<% end_if %>
|
|
|
|
</div>
|
2012-11-28 22:24:27 +01:00
|
|
|
</form>
|