@extends('Admin.master_page')
@section('small_title')
SEO Message
@endsection
@section('content')



                <div class="page-content">
                    <div class="container-fluid">

                        <!-- start page title -->
                        <div class="row">
                            <div class="col-12">
                                <div class="page-title-box d-sm-flex align-items-center justify-content-between">
                                    <h4 class="mb-sm-0 font-size-18">SEO Message </h4>

                                    <div class="page-title-right">
                                        <ol class="breadcrumb m-0">
                                            <li class="breadcrumb-item"><a href="{{route('dashboard.index')}}">Dashboard</a></li>
                                            <li class="breadcrumb-item active">  SEO Message</li>
                                        </ol>
                                    </div>

                                </div>
                            </div>
                                   <!-- end page title -->
                        @if(Session::has('message'))
                        <div class="alert alert-info">{{ Session::get('message') }}</div>

                        @endif
                        </div>



                        <div class="row">
                            <div class="col-12">
                                <div class="card">

                                    <div class="card-body">
                                        <div class="table-rep-plugin">
                                            <div class="table-responsive mb-0" data-pattern="priority-columns">

	<table class="table table-striped">
        <tr>
            <th> Info </th>
            <th>{{__('lable.status')}}</th>
            <th>{{__('lable.action')}}</th>
        </tr>
    @foreach ($donations as $item)
        <tr>
            <td>
                <p>{{ $item->info }}</p>
            </td>
            <td>
                <p>
                    {{ $item->status?'Active':'No active' }}</p>
            </td>

                <td>


                        <a href="{{ route('donations.edit' , $item->id) }}" ><i class="fas fa-edit"></i></a>

                    </td>


        </tr>
    @endforeach()

    </table>
                                            </div>

                                        </div>

                                    </div>
                                </div>
                                <!-- end card -->
                            </div> <!-- end col -->
                        </div> <!-- end row -->



                    </div>
                    <!-- container-fluid -->
                </div>
                <!-- End Page-content -->



@endsection

