@extends('layouts.master') @section('title',__('Edit')." "." - $actor->name") @section('breadcum')
{{ __('HOME') }}
{{ __('Dashboard') }}
{{ __('Edit Actor') }}
@endsection @section('maincontent')
@if ($errors->any())
@foreach($errors->all() as $error)
{{ $error}}
×
@endforeach
@endif
{{ __('Back') }}
{{__('Edit Actor')}}
{!! Form::model($actor, ['method' => 'PATCH', 'action' => ['ActorController@update', $actor->id], 'files' => true]) !!}
{!! Form::label('name',__('Name')) !!} {!! Form::text('name', old('name'), ['class' => 'form-control', 'required' => 'required']) !!}
{{ $errors->first('name') }}
{!! Form::label('biography', __('Biography')) !!} {!! Form::textarea('biography', old('biography'), ['class' => 'form-control','row'=>'3', 'placeholder' => __('Please Enter Actor Biography')]) !!}
{{ $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', __('Actor Image')) !!} {!! Form::file('image', ['class' => 'input-file', 'id'=>'image']) !!}
{{isset($actor->image) ? $actor->image :__('Choose A File')}}
{{__('Choose Custom Image')}}
{{ $errors->first('image') }}
{{ __('Update') }}
{!! Form::close() !!}
@endsection @section('script') @endsection