silverstripe-webpack/app/templates/Includes/Content.ss
2019-04-11 05:15:29 +07:00

25 lines
569 B
Scheme

<div class="page-content">
<h1 class="page-header container<% 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>