<?php if(count($errors) > 0): ?>
<!-- Form Error List -->
<div class="alert alert-danger">
<strong>Whoops! Hi ha algun error!</strong>
<br><br>
<ul>
<?php foreach($errors->all() as $error): ?>
<li><?php echo e($error); ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>