Merge pull request #739 from creative-commoners/pulls/5.0/bootstrap-alert

Use bootstrap alert instead of old .message.notice
This commit is contained in:
Dylan Wagstaff 2018-03-21 12:18:06 +13:00 committed by GitHub
commit 5b68e7bb58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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'
)