BUGFIX SSF-25 : remove CreateForm, using the GridField 'Add New" action, instead

This commit is contained in:
Normann Lou 2012-03-08 20:28:52 +13:00
parent 2ea7c8d136
commit 5e92c69c0a
2 changed files with 7 additions and 4 deletions

View File

@ -846,6 +846,13 @@ class ModelAdmin_CollectionController extends Controller {
Director::redirect(Controller::join_links($this->Link(), $model->ID , 'edit'));
}
}
/**
* @return ArrayList
*/
public function Breadcrumbs(){
return new ArrayList();
}
}
/**

View File

@ -1,7 +1,3 @@
<% if CreateForm %>
$CreateForm
<% end_if %>
<h3><% _t('SEARCHLISTINGS','Search') %></h3>
$SearchForm