messages_error.blade.php 525 Bytes
@if ($message = Session::get('success'))
    <div class="notify">
        <svg>
            <use xlink:href="{{ asset('images/sprite.svg#i') }}"></use>
        </svg>
        <span>{{ $message }}</span>
    </div>
@endif

@if ($errors->any())
    <div class="notify">
        <svg>
            <use xlink:href="{{ asset('images/sprite.svg#i') }}"></use>
        </svg>
        <span>
            @foreach ($errors->all() as $error)
                {{ $error }}<br>
            @endforeach
        </span>
    </div>
@endif