2012-06-11 15:15:18 +02:00
|
|
|
<div class="cms-content center $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
|
|
|
|
<% with AddForm %>
|
|
|
|
<form $FormAttributes data-layout-type="border">
|
|
|
|
<div class="cms-content-header north">
|
|
|
|
<div class="cms-content-header-info">
|
|
|
|
<h2><% _t('CMSAddPageController.Title','Add page') %></h2>
|
|
|
|
</div>
|
2011-12-20 15:57:02 +01:00
|
|
|
</div>
|
2012-06-11 15:15:18 +02:00
|
|
|
|
|
|
|
<div class="cms-content-fields center cms-panel-content cms-panel-padded">
|
|
|
|
<% 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 %>
|
|
|
|
</fieldset>
|
2011-12-20 15:57:02 +01:00
|
|
|
</div>
|
2012-06-11 15:15:18 +02:00
|
|
|
|
|
|
|
<div class="cms-content-actions south">
|
|
|
|
<% if Actions %>
|
|
|
|
<div class="Actions">
|
|
|
|
<% loop Actions %>
|
|
|
|
$Field
|
|
|
|
<% end_loop %>
|
|
|
|
</div>
|
|
|
|
<% end_if %>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
<% end_with %>
|
|
|
|
</div>
|