mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
31 lines
740 B
Scheme
31 lines
740 B
Scheme
<form $FormAttributes>
|
|
|
|
<% 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>
|
|
|
|
<% if $Actions %>
|
|
<div class="btn-toolbar">
|
|
<% loop $Actions %>
|
|
$Field
|
|
<% end_loop %>
|
|
<% if $CurrentPage.LinkPreview %>
|
|
<a href="$CurrentPage.LinkPreview" class="cms-preview-toggle-link ss-ui-button" data-icon="preview">
|
|
<% _t('LeftAndMain.PreviewButton', 'Preview') %> »
|
|
</a>
|
|
<% end_if %>
|
|
</div>
|
|
<% end_if %>
|
|
|
|
</form>
|