mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
6aeac37906
ENHANCEMENT Namespaced tree search parameters in CMSMain, in order to detect more reliably if a filter has been applied. Changing page search form to standard pushState behaviour, same as ModelAdmin (for both tree and list view). MINOR Refactored list view loading
33 lines
887 B
Scheme
33 lines
887 B
Scheme
<form $FormAttributes data-layout-type="border">
|
|
|
|
<div class="cms-content-fields center">
|
|
<% if Message %>
|
|
<p id="{$FormName}_error" class="message $MessageType">$Message</p>
|
|
<% else %>
|
|
<p id="{$FormName}_error" class="message $MessageType" style="display: none"></p>
|
|
<% end_if %>
|
|
|
|
<fieldset>
|
|
<% if Legend %><legend>$Legend</legend><% end_if %>
|
|
<% control Fields %>
|
|
$FieldHolder
|
|
<% end_control %>
|
|
<div class="clear"><!-- --></div>
|
|
</fieldset>
|
|
</div>
|
|
|
|
<div class="cms-content-actions south">
|
|
<% if Actions %>
|
|
<div class="Actions">
|
|
<% control Actions %>
|
|
$Field
|
|
<% end_control %>
|
|
<% if Controller.PreviewLink %>
|
|
<a href="$Controller.PreviewLink" class="cms-preview-toggle-link ss-ui-button" data-icon="preview">
|
|
<% _t('LeftAndMain.PreviewButton', 'Preview') %> »
|
|
</a>
|
|
<% end_if %>
|
|
</div>
|
|
<% end_if %>
|
|
</div>
|
|
</form> |