mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
65 lines
1.6 KiB
Scheme
65 lines
1.6 KiB
Scheme
<% if IncludeFormTag %>
|
|
<form $FormAttributes data-layout-type="border">
|
|
<% end_if %>
|
|
<div class="cms-content-header north">
|
|
<div class="cms-content-header-info">
|
|
<% include BackLink_Button %>
|
|
<h2 id="page-title-heading">
|
|
<% with Controller %>
|
|
<% include CMSBreadcrumbs %>
|
|
<% end_with %>
|
|
</h2>
|
|
</div>
|
|
<% if Fields.hasTabset %>
|
|
<% with Fields.fieldByName('Root') %>
|
|
<div class="cms-content-header-tabs">
|
|
<ul>
|
|
<% loop Tabs %>
|
|
<li<% if extraClass %> class="$extraClass"<% end_if %>><a href="#$id">$Title</a></li>
|
|
<% end_loop %>
|
|
</ul>
|
|
</div>
|
|
<% end_with %>
|
|
<% end_if %>
|
|
|
|
<!-- <div class="cms-content-search">...</div> -->
|
|
</div>
|
|
|
|
<% with Controller %>
|
|
$EditFormTools
|
|
<% end_with %>
|
|
|
|
<div class="cms-content-fields center <% if not $Fields.hasTabset %>cms-panel-padded<% end_if %>">
|
|
<% 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>
|
|
</div>
|
|
|
|
<div class="cms-content-actions south">
|
|
<% if Actions %>
|
|
<div class="Actions">
|
|
<% loop Actions %>
|
|
$Field
|
|
<% end_loop %>
|
|
<% if Controller.LinkPreview %>
|
|
<a href="$Controller.LinkPreview" class="cms-preview-toggle-link ss-ui-button" data-icon="preview">
|
|
<% _t('LeftAndMain.PreviewButton', 'Preview') %> »
|
|
</a>
|
|
<% end_if %>
|
|
</div>
|
|
<% end_if %>
|
|
</div>
|
|
<% if IncludeFormTag %>
|
|
</form>
|
|
<% end_if %>
|