Skip to content

Instantly share code, notes, and snippets.

@angelmartz
Created November 27, 2013 17:04
Show Gist options
  • Select an option

  • Save angelmartz/7679270 to your computer and use it in GitHub Desktop.

Select an option

Save angelmartz/7679270 to your computer and use it in GitHub Desktop.
Errores Laravel
@if ($errors->any())
<div class="alert alert-danger">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<strong>Por favor corrige los siguentes errores:</strong>
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
//http://www.cristalab.com/tutoriales/modulo-de-usuarios-vi-editar-un-registro-con-laravel-c111683l/
@include ('errores', array('errors' => $errors))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment