laravel-learn-bbs/resources/views/common/error.blade.php

10 lines
316 B
PHP
Raw Permalink Normal View History

2018-01-01 04:00:45 +00:00
@if (count($errors) > 0)
<div class="alert alert-danger">
<p>There were some problems with your input.</p>
<ul>
@foreach ($errors->all() as $error)
<li><i class="glyphicon glyphicon-remove"></i> {{ $error }}</li>
@endforeach
</ul>
</div>
@endif