BookStack/resources/views/partials/notifications.blade.php

13 lines
571 B
PHP
Raw Normal View History

<div notification="success" data-autohide class="pos" @if(session()->has('success')) data-show @endif>
@icon('check-circle') <span>{!! nl2br(htmlentities(session()->get('success'))) !!}</span>
2016-03-12 10:52:19 -05:00
</div>
<div notification="warning" class="warning" @if(session()->has('warning')) data-show @endif>
@icon('info') <span>{!! nl2br(htmlentities(session()->get('warning'))) !!}</span>
</div>
<div notification="error" class="neg" @if(session()->has('error')) data-show @endif>
@icon('danger') <span>{!! nl2br(htmlentities(session()->get('error'))) !!}</span>
</div>