Alerts: replace 'error' class with 'danger'
This commit is contained in:
1 parent
f9eefe7b41
commit
0366df9b5f
6 files changed
+14
-14
No files matched your search
@@ -48,7 +48,7 @@ class ResetPassword extends HTMLController
|
||||
exit;
|
||||
}
|
||||
else
|
||||
$form->adopt(new Alert('Some fields require your attention', '<ul><li>' . implode('</li><li>', $missing) . '</li></ul>', 'error'));
|
||||
$form->adopt(new Alert('Some fields require your attention', '<ul><li>' . implode('</li><li>', $missing) . '</li></ul>', 'danger'));
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -63,7 +63,7 @@ class ResetPassword extends HTMLController
|
||||
$id_user = Authentication::getUserid(trim($_POST['emailaddress']));
|
||||
if ($id_user === false)
|
||||
{
|
||||
$form->adopt(new Alert('Invalid email address', 'The email address you provided could not be found in our system. Please try again.', 'error'));
|
||||
$form->adopt(new Alert('Invalid email address', 'The email address you provided could not be found in our system. Please try again.', 'danger'));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user