silverstripe-webpack/app/templates/Includes/Content.ss
2019-12-12 22:15:44 +07:00

27 lines
599 B
Scheme

<div class="page-content">
<h1 class="element page-header $DefaultContainer<% if $ElementalArea.Elements.Count < 1 %> no-elements<% end_if %>">
$Title
</h1>
<div class="page-content">
<% if $CurrentElement %>
$CurrentElement
<% else %>
$ElementalArea
<% end_if %>
<% if $Form %>
<div class="container">
$Form
</div>
<% end_if %>
<% if $ExtraCode %>
<div class="extra-code extra-code-page">
$ExtraCode
</div>
<% end_if %>
</div>
</div>