2012-03-07 17:02:08 +01:00
|
|
|
<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 %>
|
|
|
|
<% control Fields %>
|
|
|
|
$FieldHolder
|
|
|
|
<% end_control %>
|
|
|
|
<div class="clear"><!-- --></div>
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<% if Actions %>
|
|
|
|
<div class="Actions">
|
|
|
|
<% control Actions %>
|
|
|
|
$Field
|
|
|
|
<% end_control %>
|
2012-04-18 22:59:31 +02:00
|
|
|
<% if CurrentPage.LinkPreview %>
|
|
|
|
<a href="$CurrentPage.LinkPreview" class="cms-preview-toggle-link ss-ui-button" data-icon="preview">
|
2012-03-07 17:02:08 +01:00
|
|
|
<% _t('LeftAndMain.PreviewButton', 'Preview') %> »
|
|
|
|
</a>
|
|
|
|
<% end_if %>
|
|
|
|
</div>
|
|
|
|
<% end_if %>
|
|
|
|
|
|
|
|
</form>
|