@extends('admin.layouts.master') @section('title', 'Add Post') @section('maincontent') @include('admin.layouts.topbar',$data)
@if ($errors->any()) @endif
{{ __('Add Post') }}
@csrf
@error('heading') {{ $message }} @enderror
@error('slug') {{ $message }} @enderror
@error('text') {{ $message }} @enderror
@error('date') {{ $message }} @enderror
@error('detail') {{ $message }} @enderror
@if(Auth::user()->role == 'admin')

{{ __('Browse') }}
@endif @if(Auth::user()->role == 'instructor')

{{ __('Upload') }}
@endif @if(Auth::user()->role == 'admin')


@endif


@endsection @section('script') @endsection