Use bootstrap alert instead of old .message.notice

This commit is contained in:
Robbie Averill 2018-03-21 10:49:13 +13:00
parent e041c4805f
commit df1d428df8
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ class EditableFileField extends EditableFormField
$fields->addFieldToTab("Root.Main", LiteralField::create(
'FileUploadWarning',
'<p class="message notice">' . _t(
'<p class="alert alert-info">' . _t(
'SilverStripe\\UserForms\\Model\\UserDefinedForm.FileUploadWarning',
'Files uploaded through this field could be publicly accessible if the exact URL is known'
)