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

10 lines
295 B
PHP
Raw Permalink Normal View History

2017-12-30 20:23:09 +00:00
@if (count($errors) > 0)
<div class="alert alert-danger">
<h4>有错误发生:</h4>
<ul>
@foreach ($errors->all() as $error)
<li><i class="glyphicon glyphicon-remove"></i> {{ $error }}</li>
@endforeach
</ul>
</div>
@endif