mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
11e48245c9
Same as with the import form - you can overload the public function `SearchForm` in your model admin subclass to not return a form and the title currently remains there which makes no sense.
17 lines
620 B
Scheme
17 lines
620 B
Scheme
<div class="cms-content-tools west cms-panel cms-panel-layout" id="cms-content-tools-ModelAdmin" data-expandOnClick="true" data-layout-type="border">
|
|
<div class="cms-panel-content center">
|
|
<% if $SearchForm %>
|
|
<h3 class="cms-panel-header"><% _t('ModelAdmin_Tools_ss.FILTER', 'Filter') %></h3>
|
|
$SearchForm
|
|
<% end_if %>
|
|
|
|
<% if $ImportForm %>
|
|
<h3 class="cms-panel-header"><% _t('ModelAdmin_Tools_ss.IMPORT', 'Import') %></h3>
|
|
$ImportForm
|
|
<% end_if %>
|
|
</div>
|
|
<div class="cms-panel-content-collapsed">
|
|
<h3 class="cms-panel-header"><% _t('ModelAdmin_Tools_ss.FILTER', 'Filter') %></h3>
|
|
</div>
|
|
</div>
|