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

25 lines
569 B
Scheme
Raw Normal View History

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