@extends('admin.layout') @section('content')

{{ translate('Project Highlights') }}

{{ translate('Edit Project Highlight') }}
{!! Form::open(['method' => 'patch', 'action' => ['Admin\ProjectHighlightController@update', $data->id], 'files' => true]) !!}
{!! Form::text('title_ar', $data->title_ar, ['class' => 'form-control', 'placeholder' => translate('Arabic title')]) !!}
@error('title_ar')
{{ $message }}
@enderror
{!! Form::text('title_en', $data->title_en, ['class' => 'form-control', 'placeholder' => translate('English title')]) !!}
@error('title_en')
{{ $message }}
@enderror
{!! Form::textarea('description_ar', $data->description_ar, ['class' => 'form-control', 'placeholder' => translate('Arabic Description')]) !!}
@error('description_ar')
{{ $message }}
@enderror
{!! Form::textarea('description_en', $data->description_en, ['class' => 'form-control', 'placeholder' => translate('English Description')]) !!}
@error('description_en')
{{ $message }}
@enderror
{!! Form::number('arrangment', $data->arrangment, ['class' => 'form-control', 'placeholder' => translate('Arrangement')]) !!}
@error('arrangment')
{{ $message }}
@enderror
{!! Form::checkbox('active', null, $data->active, ['id' => 'active']) !!}
{!! Form::Close() !!}
@endsection @section('script') @endsection