@extends('layouts.admin') @section('title',__('adminstaticwords.Edit')." "." - $director->name") @section('content')

@can('director.view') reply @endcan {{__('adminstaticwords.EditDirector')}}

{!! Form::model($director, ['method' => 'PATCH', 'action' => ['DirectorController@update', $director->id], 'files' => true]) !!}
{!! Form::label('name',__('adminstaticwords.Name')) !!} {!! Form::text('name', old('name'), ['class' => 'form-control', 'required' => 'required']) !!} {{ $errors->first('name') }}
{!! Form::label('biography', __('adminstaticwords.Biography')) !!} {!! Form::textarea('biography', old('biography'), ['class' => 'form-control','row'=>'3', 'placeholder' => __('adminstaticwords.PleaseEnterDirectorBiography')]) !!} {{ $errors->first('biography') }}
{!! Form::label('place_of_birth', __('Place of Birth')) !!} {!! Form::textarea('place_of_birth', old('place_of_birth'), ['class' => 'form-control','row'=>'3', 'placeholder' => __('Please enter place of birth')]) !!} {{ $errors->first('place_of_birth') }}
{!! Form::label('DOB', __('Date of Birth')) !!} {!! Form::date('DOB', old('DOB'), ['class' => 'form-control','placeholder' => __('Please enter date of birth')]) !!} {{ $errors->first('DOB') }}
{!! Form::label('image', __('adminstaticwords.DirectorImage')) !!} {!! Form::file('image', ['class' => 'input-file', 'id'=>'image']) !!}

{{__('adminstaticwords.ChooseCustomImage')}}

{{ $errors->first('image') }}
{!! Form::close() !!}
@endsection