×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Marcelo Aleks
Added: May 15, 2015 8:38 PM
Views: 9
Tags: blade laravel php
  1.         @if (count($errors) > 0)
  2.         <div class="alert alert-danger">
  3.             <ul>
  4.                 @foreach ($errors->all() as $error)
  5.                 <li>{{ $error }}</li>
  6.                 @endforeach
  7.             </ul>
  8.         </div>
  9.         @endif