PHP Classes

File: resources/views/frontend/layouts/partials/messages.blade.php

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   LaraCMS   resources/views/frontend/layouts/partials/messages.blade.php   Download  
File: resources/views/frontend/layouts/partials/messages.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: LaraCMS
Content management system based on Laravel
Author: By
Last change:
Date: 2 years ago
Size: 1,153 bytes
 

Contents

Class file image Download
@if (Session::has('sticky_error'))
    <div class="alert alert-danger">
        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <span aria-hidden="true">×</span> </button>
        <h3 class="text-danger"><i class="fa fa-times-circle"></i> Error</h3>
        {!! Session::get('sticky_error') !!}
    </div>
@endif

@if (Session::has('sticky_success'))
    <div class="alert alert-success">
        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <span aria-hidden="true">×</span> </button>
        <h3 class="text-success"><i class="fa fa-check-circle"></i> Success</h3>
        {!! Session::get('sticky_success') !!}
    </div>
@endif

@if ($errors->any())
    <div class="alert alert-danger alert-dismissible fade show" role="alert">
        <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
        <h3 class="text-danger"><i class="fa fa-times-circle"></i> Error</h3>
        <div>
            @foreach ($errors->all() as $error)
                <p>{{ $error }}</p>
            @endforeach
        </div>
    </div>
@endif