mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
MINOR Consolidated AssetAdmin->FilterForm() button styling and labels with CMSMain
This commit is contained in:
parent
ebfc1526ad
commit
6860c5dd9f
@ -225,9 +225,11 @@ JS
|
||||
$fields->push(new TextField('Title'));
|
||||
$fields->push(new TextField('ClassName','Type'));
|
||||
|
||||
$actions = new FieldList();
|
||||
$actions->push(new FormAction('doFilter', 'Filter'));
|
||||
$actions->push(new ResetFormAction('doResetFilter', 'Clear Filter'));
|
||||
$actions = new FieldList(
|
||||
Object::create('ResetFormAction', 'clear', _t('CMSMain_left.ss.CLEAR', 'Clear'))
|
||||
->addExtraClass('ss-ui-action-minor'),
|
||||
FormAction::create('doSearch', _t('CMSMain_left.ss.SEARCH', 'Search'))
|
||||
);
|
||||
|
||||
$form = new Form($this, 'filter', $fields, $actions);
|
||||
$form->addExtraClass('cms-filter-form');
|
||||
|
Loading…
x
Reference in New Issue
Block a user