silverstripe-webpack/app/templates/Includes/Content.ss

24 lines
538 B
Scheme
Raw Normal View History

2018-03-24 11:45:31 +01:00
<div class="page-content">
2019-12-12 16:15:44 +01:00
<h1 class="element page-header $DefaultContainer<% if $ElementalArea.Elements.Count < 1 %> no-elements<% end_if %>">
$Title
</h1>
2018-03-24 11:45:31 +01:00
2019-12-17 21:43:28 +01:00
<% if $CurrentElement %>
$CurrentElement
<% else %>
$ElementalArea
<% end_if %>
2018-03-24 11:45:31 +01:00
2019-12-17 21:43:28 +01:00
<% if $Form %>
<div class="element $DefaultContainer">
$Form
2018-08-26 12:46:03 +02:00
</div>
2019-12-17 21:43:28 +01:00
<% end_if %>
2019-12-17 21:43:28 +01:00
<% if $ExtraCode %>
<div class="element $DefaultContainer extra-code extra-code-page">
$ExtraCode
</div>
<% end_if %>
</div>