@extends('layouts.admin') @section('styles') @endsection @section('content')

{{$king_david->heading}}

description != "") action='/admin/king_david/update/{{$king_david->id}}' @endif > @csrf @if (session('success'))
{!! session('success') !!}
@endif @if (session('status'))
{!! session('status') !!}
@endif
description != "") @else required @endif value="{{ ($king_david->thumbnail!=''|| !$king_david->thumbnail) ? $king_david->thumbnail : old('thumbnail') }}"> @if ($errors->has('thumbnail')) {{ $errors->first('thumbnail') }} @endif
@if ($errors->has('description')) {{ $errors->first('description') }} @endif
@if($king_david->type==='article')
@if ($errors->has('details')) {{ $errors->first('details') }} @endif
@endif @if($king_david->type === "scanned")
description != "") @else required @endif value="{{($king_david->url!=''|| !$king_david->url) ? $king_david->url : old('scanned') }}" > @if ($errors->has('scanned')) {{ $errors->first('scanned') }} @endif
@endif @if($king_david->type === "link")
@if ($errors->has('link')) {{ $errors->first('link') }} @endif
@endif @if($king_david->type === "video")
@if ($errors->has('video')) {{ $errors->first('video') }} @endif
@endif
@endsection @section('javascript') @endsection