File "message.blade.php"

Full Path: /home/bettaeza/flyinsyria.com/Layout/admin/message.blade.php
File size: 1.57 KB
MIME-type: text/plain
Charset: utf-8

@if ($message = Session::get('success'))
    <div class="alert alert-success alert-block">
        <button type="button" class="close" data-dismiss="alert">×</button>
        <strong>{!! clean($message) !!}</strong>
    </div>
@endif


@if ($message = Session::get('error'))
    <div class="alert alert-danger alert-block">
        <button type="button" class="close" data-dismiss="alert">×</button>
        <strong>{!! clean($message) !!}</strong>
    </div>
@endif

@if ($message = Session::get('danger'))
    <div class="alert alert-danger alert-block">
        <button type="button" class="close" data-dismiss="alert">×</button>
        <strong>{!! clean($message) !!}</strong>
    </div>
@endif


@if ($message = Session::get('warning'))
    <div class="alert alert-warning alert-block">
        <button type="button" class="close" data-dismiss="alert">×</button>
        <strong>{!! clean($message) !!}</strong>
    </div>
@endif


@if ($message = Session::get('info'))
    <div class="alert alert-info alert-block">
        <button type="button" class="close" data-dismiss="alert">×</button>
        <strong>{!! clean($message) !!}</strong>
    </div>
@endif


@if ($errors->any())
    <div class="alert alert-danger">
        <button type="button" class="close" data-dismiss="alert">×</button>
        {{__("Please check the form below for errors")}}
        <ul style="padding-left: 20px">
            @foreach ($errors->all() as $error)
                <li>{!! clean($error) !!}</li>
            @endforeach
        </ul>
    </div>
@endif