laravel-learn-bbs/resources/views/layouts/_message.blade.php

20 lines
655 B
PHP
Raw Permalink Normal View History

2017-12-30 20:23:09 +00:00
@if (Session::has('message'))
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
{{ Session::get('message') }}
</div>
@endif
@if (Session::has('success'))
<div class="alert alert-success">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
{{ Session::get('success') }}
</div>
@endif
@if (Session::has('danger'))
<div class="alert alert-danger">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
{{ Session::get('danger') }}
</div>
@endif