templates/includes/flash.html.twig line 1
{% for message in app.flashes('success') %}<script type="application/javascript">$(document).ready(function (e) {const Toast = Swal.mixin({toast: true,position: 'top-end',showConfirmButton: false,timer: 4000});Toast.fire({icon: 'success',title: '{{ message }}',})});</script>{% endfor %}{% for message in app.flashes('error') %}<script type="application/javascript">$(document).ready(function (e) {const Toast = Swal.mixin({toast: true,position: 'top-end',showConfirmButton: false,timer: 4000});Toast.fire({icon: 'error',title: '{{ message }}'})});</script>{% endfor %}{% for message in app.flashes('info') %}<script type="application/javascript">$(document).ready(function (e) {const Toast = Swal.mixin({toast: true,position: 'top-end',showConfirmButton: false,timer: 4000});Toast.fire({position: 'top-end',icon: 'info',title: '{{ message }}'})});</script>{% endfor %}