mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
711de868c9
BUGFIX Requiring a parentController for RecordController ENHANCEMENT Custom getViewer() methods to use Page main templates if CollectionController is nested in a ContentController git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63681 467b73ca-7a2a-4603-9d3b-597d59a354a9
21 lines
366 B
Scheme
21 lines
366 B
Scheme
<div class="typography">
|
|
<div id="Content">
|
|
|
|
<h2>$Title</h2>
|
|
|
|
$Form
|
|
|
|
<% if SearchForm %>
|
|
<h3><% _t('SEARCH','Search') %></h3>
|
|
$SearchForm
|
|
<% end_if %>
|
|
|
|
<% include CollectionController_Results %>
|
|
|
|
<% if canCurrentUserCreate %>
|
|
<h3>Add</h3>
|
|
<a href="$Link/add"><% _t('ADDNEWRECORD','Add new record') %></a>
|
|
<% end_if %>
|
|
|
|
</div>
|
|
</div> |