@extends('layouts.admin') @section('styles') @endsection @section('content')
{{ __('Galleries') }}
@csrf New Gallery:
@if (session('success'))
{!! session('success') !!}
@endif @if (session('error'))
{!! session('error') !!}
@endif @if ($errors->has('name')) {{ $errors->first('name') }} @endif @if ($errors->has('type')) {{ $errors->first('type') }} @endif @foreach($galleries as $gallery) @endforeach
Menu Name Menu Order* Type Visible** Created By Action***
{{$gallery->name}}
@csrf
{{ucfirst($gallery->type)}} @if($gallery->visible) @else @endif {{$gallery->createdBy->name}} {{$gallery->createdBy->surname}}
@csrf
   
{{ $galleries->links() }} * Edit the position (number) where you want the menu item to appear, then click on the "" icon to update. The rest will re-order after it.
** Click icon to change visibility: (Visble)    (NOT Visble)
*** Edit Gallery    Delete Gallery

NOTES: Before a gallery can be deleted all images or videos in that gallery must be deleted first!
Delete can not be undone.
@endsection