BUGFIX Don't show "Import" header if ImportForm isn't available in

ModelAdmin_Tools template
This commit is contained in:
Sean Harvey 2012-03-15 14:18:56 +13:00
parent ed08b8c00b
commit fc9e065e44

View File

@ -3,10 +3,12 @@
<h3 class="cms-panel-header"><% _t('FILTER', 'Filter') %></h3>
$SearchForm
<h3 class="cms-panel-header"><% _t('IMPORT', 'Import') %></h3>
$ImportForm
<% if ImportForm %>
<h3 class="cms-panel-header"><% _t('IMPORT', 'Import') %></h3>
$ImportForm
<% end_if %>
</div>
<div class="cms-panel-content-collapsed">
<h3 class="cms-panel-header"><% _t('FILTER', 'Filter') %></h3>
</div>
</div>
</div>