mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
184aeabcb4
Edit
36 lines
1015 B
Scheme
36 lines
1015 B
Scheme
<form $FormAttributes data-layout-type="border">
|
|
|
|
<div class="cms-content-fields center">
|
|
<% if $Message %>
|
|
<p id="{$FormName}_error" class="message $MessageType">$Message</p>
|
|
<% else %>
|
|
<p id="{$FormName}_error" class="message $MessageType" style="display: none"></p>
|
|
<% end_if %>
|
|
|
|
<fieldset>
|
|
<% if $Legend %><legend>$Legend</legend><% end_if %>
|
|
<% loop $Fields %>
|
|
$FieldHolder
|
|
<% end_loop %>
|
|
<div class="clear"><!-- --></div>
|
|
</fieldset>
|
|
</div>
|
|
|
|
<div class="cms-content-actions cms-content-controls south">
|
|
<% if $Actions %>
|
|
<div class="Actions">
|
|
<% loop $Actions %>
|
|
$Field
|
|
<% end_loop %>
|
|
<% if $Controller.LinkPreview %>
|
|
<a href="$Controller.LinkPreview" target="_cmsPreview" class="cms-preview-toggle-link ss-ui-button" data-icon="preview">
|
|
<% _t('LeftAndMain.PreviewButton', 'Preview') %> »
|
|
</a>
|
|
<% end_if %>
|
|
|
|
<% include LeftAndMain_ViewModeSelector SelectID="preview-mode-dropdown-in-content" %>
|
|
</div>
|
|
<% end_if %>
|
|
</div>
|
|
</form>
|