@extends('layouts.admin') @section('content')
@include('settings.leftbar')

{{ $title }}

@if ($errors->any()) @endif
@isset($instruction)
@else @endisset @csrf
@if(isset($instruction->title)) @php $title=$instruction->title @endphp @elseif(old('title')) @php $title=old('title') @endphp @else @php $title='' @endphp @endif
@if(isset($instruction->rank)) @php $rank=$instruction->rank @endphp @elseif(old('rank')) @php $rank=old('rank') @endphp @else @php $rank=0 @endphp @endif
@isset($instruction) @if($instruction->image != NULL) photo @else @endif @else @endisset
@if(isset($instruction->active)) @php $active=$instruction->active @endphp @elseif(old('active')) @php $active=old('active') @endphp @else @php $active=1 @endphp @endif
@push('scripts') @endpush @endsection