mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-01 05:39:36 +02:00
APICHANGE: make CreateForm be able to disable
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65744 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
f44d7e00bf
commit
64c16e3936
@ -22,8 +22,10 @@
|
|||||||
|
|
||||||
<% control ModelForms %>
|
<% control ModelForms %>
|
||||||
<div class="tab" id="{$Form.Name}_$ClassName">
|
<div class="tab" id="{$Form.Name}_$ClassName">
|
||||||
|
<% if CreateForm %>
|
||||||
<h3><% _t('ADDLISTING','Add') %></h3>
|
<h3><% _t('ADDLISTING','Add') %></h3>
|
||||||
$CreateForm
|
$CreateForm
|
||||||
|
<% end_if %>
|
||||||
|
|
||||||
<h3><% _t('SEARCHLISTINGS','Search') %></h3>
|
<h3><% _t('SEARCHLISTINGS','Search') %></h3>
|
||||||
$SearchForm
|
$SearchForm
|
||||||
|
Loading…
Reference in New Issue
Block a user