@extends('admin.layout.index') @section('content')

@yield('nav')

@yield("title")

@if (Session::has('success'))
{{ Session::get('success') }}
@endif @if (Session::has('error'))
{{ Session::get('error') }}
@endif @if (Session::has('danger'))
{{ Session::get('danger') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @yield("form-groups")
@endsection