@extends('layout.master') @section('content') @php $userType = \App\Helpers\Helpers::getUserRole()->type_id ?? []; $menu = $_GET['menu'] ?? ''; @endphp
{{ csrf_field() }}
@if ($errors->has('title'))

{{ $errors->first('title') }}

@endif
type) == 1 ? 'checked' : '' }}> type) == 2 ? 'checked' : '' }}>
@if ($errors->has('type'))

{{ $errors->first('type') }}

@endif
{{--
status) == 1 ? 'checked' : '' }}> status) == 0 ? 'checked' : '' }}>
@if ($errors->has('status'))

{{ $errors->first('status') }}

@endif
--}}
@if ($errors->has('attachment'))

{{ $errors->first('attachment') }}

@endif
(Show preview)
Cancel
@push('scripts') @endPush @endsection