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

@can('actor.view') reply @endcan {{__('adminstaticwords.EditActor')}}

{!! Form::model($actor, ['method' => 'PATCH', 'action' => ['ActorController@update', $actor->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.PleaseEnterActorBiography')]) !!} {{ $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.ActorImage')) !!} {!! Form::file('image', ['class' => 'input-file', 'id'=>'image']) !!}

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

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