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

21 lines
464 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">
2018-03-24 11:45:31 +01:00
$ElementalArea
<% 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>