Created
November 27, 2013 17:04
-
-
Save angelmartz/7679270 to your computer and use it in GitHub Desktop.
Errores Laravel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @if ($errors->any()) | |
| <div class="alert alert-danger"> | |
| <button type="button" class="close" data-dismiss="alert">×</button> | |
| <strong>Por favor corrige los siguentes errores:</strong> | |
| <ul> | |
| @foreach ($errors->all() as $error) | |
| <li>{{ $error }}</li> | |
| @endforeach | |
| </ul> | |
| </div> | |
| @endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //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