mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
MINOR Removed unnecessary (and unsemantic) element classes from forms in AssetAdmin and CMSMain
This commit is contained in:
parent
58416e5dea
commit
b5a0c1c553
@ -404,7 +404,6 @@ JS
|
||||
$btn = new FormAction('doSync', _t('FILESYSTEMSYNC','Look for new files'))
|
||||
)
|
||||
);
|
||||
$form->addExtraClass('actionparams');
|
||||
$form->setFormMethod('GET');
|
||||
$btn->describe(_t('AssetAdmin_left.ss.FILESYSTEMSYNC_DESC', 'SilverStripe maintains its own database of the files & images stored in your assets/ folder. Click this button to update that database, if files are added to the assets/ folder from outside SilverStripe, for example, if you have uploaded files via FTP.'));
|
||||
|
||||
|
@ -851,7 +851,6 @@ JS;
|
||||
)
|
||||
);
|
||||
$form->unsetValidator();
|
||||
$form->addExtraClass('oneline');
|
||||
|
||||
$this->extend('updateSideReportsForm', $form);
|
||||
|
||||
@ -1302,8 +1301,6 @@ JS;
|
||||
);
|
||||
|
||||
$form = new Form($this, "AddForm", $fields, $actions);
|
||||
$form->addExtraClass('actionparams');
|
||||
$form->addExtraClass('oneline');
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user