2013-07-13 13:00:46 +02:00
|
|
|
<% if $IncludeFormTag %>
|
2012-02-16 17:37:46 +01:00
|
|
|
<form $FormAttributes data-layout-type="border">
|
2011-06-08 01:35:56 +02:00
|
|
|
<% end_if %>
|
|
|
|
<div class="cms-content-header north">
|
2012-06-06 14:35:07 +02:00
|
|
|
<div class="cms-content-header-info">
|
2016-08-11 01:40:23 +02:00
|
|
|
<% include SilverStripe\\Admin\\BackLink_Button %>
|
2013-07-13 13:00:46 +02:00
|
|
|
<% with $Controller %>
|
2016-08-11 01:40:23 +02:00
|
|
|
<% include SilverStripe\\Admin\\CMSBreadcrumbs %>
|
2016-01-06 00:34:58 +01:00
|
|
|
<% end_with %>
|
2011-06-08 01:35:56 +02:00
|
|
|
</div>
|
2013-07-13 13:00:46 +02:00
|
|
|
<% if $Fields.hasTabset %>
|
|
|
|
<% with $Fields.fieldByName('Root') %>
|
2012-11-06 10:53:20 +01:00
|
|
|
<div class="cms-content-header-tabs cms-tabset-nav-primary">
|
2012-06-06 14:35:07 +02:00
|
|
|
<ul>
|
2013-07-13 13:00:46 +02:00
|
|
|
<% loop $Tabs %>
|
|
|
|
<li<% if $extraClass %> class="$extraClass"<% end_if %>><a href="#$id">$Title</a></li>
|
2012-06-06 14:35:07 +02:00
|
|
|
<% end_loop %>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<% end_with %>
|
|
|
|
<% end_if %>
|
|
|
|
|
|
|
|
<!-- <div class="cms-content-search">...</div> -->
|
2011-04-22 13:33:03 +02:00
|
|
|
</div>
|
2012-02-15 13:39:45 +01:00
|
|
|
|
2013-07-13 13:00:46 +02:00
|
|
|
<% with $Controller %>
|
2012-05-11 03:49:20 +02:00
|
|
|
$EditFormTools
|
|
|
|
<% end_with %>
|
2016-01-06 00:34:58 +01:00
|
|
|
|
2012-07-06 04:48:15 +02:00
|
|
|
<div class="cms-content-fields center <% if not $Fields.hasTabset %>cms-panel-padded<% end_if %>">
|
2013-07-13 13:00:46 +02:00
|
|
|
<% if $Message %>
|
2012-02-15 13:39:45 +01:00
|
|
|
<p id="{$FormName}_error" class="message $MessageType">$Message</p>
|
|
|
|
<% else %>
|
|
|
|
<p id="{$FormName}_error" class="message $MessageType" style="display: none"></p>
|
|
|
|
<% end_if %>
|
2011-04-15 05:32:43 +02:00
|
|
|
|
2012-02-15 13:39:45 +01:00
|
|
|
<fieldset>
|
2016-01-06 00:34:58 +01:00
|
|
|
<% if $Legend %><legend>$Legend</legend><% end_if %>
|
2013-07-13 13:00:46 +02:00
|
|
|
<% loop $Fields %>
|
2012-02-15 13:39:45 +01:00
|
|
|
$FieldHolder
|
2012-05-11 03:49:20 +02:00
|
|
|
<% end_loop %>
|
2012-02-15 13:39:45 +01:00
|
|
|
<div class="clear"><!-- --></div>
|
|
|
|
</fieldset>
|
|
|
|
</div>
|
2011-04-15 05:32:43 +02:00
|
|
|
|
2016-05-27 03:39:10 +02:00
|
|
|
<div class="toolbar--south cms-content-actions cms-content-controls south">
|
2013-07-13 13:00:46 +02:00
|
|
|
<% if $Actions %>
|
2016-05-27 03:39:10 +02:00
|
|
|
<div class="btn-toolbar">
|
2013-07-13 13:00:46 +02:00
|
|
|
<% loop $Actions %>
|
2012-02-15 13:39:45 +01:00
|
|
|
$Field
|
2012-05-11 03:49:20 +02:00
|
|
|
<% end_loop %>
|
2013-07-13 13:00:46 +02:00
|
|
|
<% if $Controller.LinkPreview %>
|
2012-04-18 22:59:18 +02:00
|
|
|
<a href="$Controller.LinkPreview" class="cms-preview-toggle-link ss-ui-button" data-icon="preview">
|
2015-07-22 14:51:34 +02:00
|
|
|
<%t LeftAndMain.PreviewButton 'Preview' %> »
|
2012-02-15 13:39:45 +01:00
|
|
|
</a>
|
2011-12-20 15:56:08 +01:00
|
|
|
<% end_if %>
|
2011-05-20 01:38:36 +02:00
|
|
|
</div>
|
2012-02-15 13:39:45 +01:00
|
|
|
<% end_if %>
|
2011-05-20 01:38:36 +02:00
|
|
|
</div>
|
2013-07-13 13:00:46 +02:00
|
|
|
<% if $IncludeFormTag %>
|
2011-06-08 01:35:56 +02:00
|
|
|
</form>
|
2012-05-11 03:49:20 +02:00
|
|
|
<% end_if %>
|