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:
Normann Lou 2008-11-12 23:42:23 +00:00
parent f44d7e00bf
commit 64c16e3936
1 changed files with 4 additions and 2 deletions

View File

@ -22,8 +22,10 @@
<% control ModelForms %>
<div class="tab" id="{$Form.Name}_$ClassName">
<h3><% _t('ADDLISTING','Add') %></h3>
$CreateForm
<% if CreateForm %>
<h3><% _t('ADDLISTING','Add') %></h3>
$CreateForm
<% end_if %>
<h3><% _t('SEARCHLISTINGS','Search') %></h3>
$SearchForm