mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-23 01:46:27 +02:00
Add re-populate form on submission error
This commit is contained in:
parent
d52db2e1d2
commit
7277f1e98d
11 changed files with 44 additions and 29 deletions
|
@ -121,7 +121,7 @@ namespace controllers\publics;
|
|||
|
||||
if (!$this->internal_webhook->create($_SESSION['user']['id'], $url, $type))
|
||||
{
|
||||
\FlashMessage\FlashMessage::push('danger', 'Impossible de créer ce webhook.');
|
||||
\FlashMessage\FlashMessage::push('danger', 'Impossible de créer ce webhook, vérifiez qu\'il s\'agit bien d\'une URL HTTP(S) valide.');
|
||||
|
||||
return $this->redirect(\descartes\Router::url('Webhook', 'add'));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue