mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
639f6e4d95
Introduces a preview window that appears when the screen is wide enough, removes old preview button, adds a draft-public switch, adds variety of preview options which are not hooked up yet. Relies on sapphire's f95fadc84416835302fe6c8448054960b5e7ec65
29 lines
654 B
Scheme
29 lines
654 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 south">
|
|
<% if Actions %>
|
|
<div class="Actions">
|
|
<% loop Actions %>
|
|
$Field
|
|
<% end_loop %>
|
|
|
|
</div>
|
|
<% end_if %>
|
|
</div>
|
|
</form> |