2016-10-05 04:40:02 +02:00
|
|
|
<div class="flexbox-area-grow cms-content $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
|
2013-07-18 13:14:29 +02:00
|
|
|
<% with $AddForm %>
|
2012-06-11 15:15:18 +02:00
|
|
|
<form $FormAttributes data-layout-type="border">
|
2016-10-05 04:40:02 +02:00
|
|
|
<div class="toolbar toolbar--north">
|
2016-07-21 08:36:03 +02:00
|
|
|
<div class="toolbar__navigation">
|
|
|
|
<ol class="breadcrumb">
|
2017-12-14 22:25:47 +01:00
|
|
|
<li class="breadcrumb__item">
|
|
|
|
<%t SilverStripe\CMS\Controllers\CMSPagesController.MENUTITLE 'Pages'%>
|
|
|
|
</li>
|
|
|
|
<li class="breadcrumb__item breadcrumb__item--last breadcrumb__item--no-crumb">
|
2016-07-21 08:36:03 +02:00
|
|
|
<h2 class="breadcrumb__item-title breadcrumb__item-title--last">
|
2017-05-19 02:11:46 +02:00
|
|
|
<%t SilverStripe\CMS\Controllers\CMSPageAddController.Title 'Add page' %>
|
2016-07-21 08:36:03 +02:00
|
|
|
</h2>
|
|
|
|
</li>
|
|
|
|
</ol>
|
2012-06-11 15:15:18 +02:00
|
|
|
</div>
|
2011-12-20 15:57:02 +01:00
|
|
|
</div>
|
2013-07-18 13:14:29 +02:00
|
|
|
|
2016-10-05 04:40:02 +02:00
|
|
|
<div class="panel panel--padded panel--scrollable flexbox-area-grow">
|
2013-07-18 13:14:29 +02:00
|
|
|
<% if $Message %>
|
2018-09-13 18:48:13 +02:00
|
|
|
<p id="{$FormName}_error" class="alert $AlertType">$Message</p>
|
2012-06-11 15:15:18 +02:00
|
|
|
<% else %>
|
2018-09-13 18:48:13 +02:00
|
|
|
<p id="{$FormName}_error" class="alert $AlertType" style="display: none"></p>
|
2012-06-11 15:15:18 +02:00
|
|
|
<% end_if %>
|
2013-07-18 13:14:29 +02:00
|
|
|
|
2012-06-11 15:15:18 +02:00
|
|
|
<fieldset>
|
2013-07-18 13:14:29 +02:00
|
|
|
<% if $Legend %><legend>$Legend</legend><% end_if %>
|
|
|
|
<% loop $Fields %>
|
2012-06-11 15:15:18 +02:00
|
|
|
$FieldHolder
|
|
|
|
<% end_loop %>
|
|
|
|
</fieldset>
|
2011-12-20 15:57:02 +01:00
|
|
|
</div>
|
2013-07-18 13:14:29 +02:00
|
|
|
|
2016-05-23 03:50:12 +02:00
|
|
|
<div class="toolbar--south">
|
2013-07-18 13:14:29 +02:00
|
|
|
<% if $Actions %>
|
2016-05-23 03:50:12 +02:00
|
|
|
<div class="btn-toolbar">
|
2013-07-18 13:14:29 +02:00
|
|
|
<% loop $Actions %>
|
2012-06-11 15:15:18 +02:00
|
|
|
$Field
|
|
|
|
<% end_loop %>
|
|
|
|
</div>
|
|
|
|
<% end_if %>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
<% end_with %>
|
|
|
|
</div>
|