PHP Classes

File: src/resources/views/response.blade.php

Recommend this page to a friend!
  Classes of Zacchaeus Bolaji   Laravel Revert Model Events   src/resources/views/response.blade.php   Download  
File: src/resources/views/response.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Laravel Revert Model Events
Log, list and undo changes done on model objects
Author: By
Last change:
Date: 4 years ago
Size: 1,349 bytes
 

Contents

Class file image Download
@if (session('success'))
    <div class="alert alert-success">
        {{ session('success') }}
    </div>
@endif
@if (session('error'))
    <div class="alert alert-danger">
        {{ session('error') }}
    </div>
@endif
@if (session('warning'))
                                <div class="alert alert-warning">
                                    {{ session('warning') }}
                           
                                </div>
                            @endif
                            @if(session('subscribe'))
<div class="alert alert-info">
    {{session('subscribe')}}
</div>
    @endif
@if (isset($errors) && $errors->any())
    <div class="alert alert-danger">
        <ul>
            @foreach ($errors->all() as $error)
                <li>{{ $error }}</li>
            @endforeach
        </ul>
    </div>
@endif
@if (session('status'))
@if(is_array(session('status')))
    <div class="alert alert-success">
        {{session('status')['message']}}
        <script>
            window.setTimeout(function(){

                // Move to a new location or you can do something else
                window.location.href = "{{session('status')['payUrl']}}";

            }, 5000);
        </script>
    </div>
    @else
    <div class="alert alert-success">
        {{session('status')}}
        </div>
   
    @endif
@endif