@extends('backend.layouts.app') @section('title', __('labels.backend.guest.title').' | '.app_name()) @section('content') @php $id=$achivment?$achivment->id:0 @endphp {!! Form::model($achivment, ['method' => 'PUT', 'route' => ['admin.acheivment.update', $id], 'files' => true,]) !!}

@lang('labels.backend.acheivment.edit')

{!! Form::label('year', trans('labels.backend.acheivment.fields.year').'*', ['class' => 'control-label']) !!} {!! Form::text('year', old('year'), ['class' => 'form-control ', 'placeholder' => trans('labels.backend.acheivment.fields.year').'*', 'required' => '']) !!}
{!! Form::label('content', trans('labels.backend.acheivment.fields.title').'*', ['class' => 'control-label']) !!} {!! Form::text('title', old('title'), ['class' => 'form-control ', 'placeholder' => trans('labels.backend.guest.fields.name').'*', 'required' => '']) !!}
{!! Form::label('content', trans('labels.backend.acheivment.fields.title_ar').'*', ['class' => 'control-label']) !!} {!! Form::text('title_ar', old('title_ar'), ['class' => 'form-control ', 'placeholder' => trans('labels.backend.guest.fields.name_ar').'*', 'required' => '']) !!}
{!! Form::label('full_text', trans('labels.backend.acheivment.fields.introduction'), ['class' => 'control-label']) !!} {!! Form::textarea('introduction', old('introduction'), ['class' => 'form-control editor', 'placeholder' => '','id' => 'editor']) !!}
{!! Form::label('full_text', trans('labels.backend.acheivment.fields.introduction_ar'), ['class' => 'control-label']) !!} {!! Form::textarea('introduction_ar', old('introduction_ar'), ['class' => 'form-control editor', 'placeholder' => '','id' => 'editor']) !!}
{!! Form::label('full_text', trans('labels.backend.acheivment.fields.content'), ['class' => 'control-label']) !!} {!! Form::textarea('content', old('content'), ['class' => 'form-control editor', 'placeholder' => '','id' => 'editor']) !!}
{!! Form::submit(trans('strings.backend.general.app_update'), ['class' => 'btn btn-danger']) !!}
{!! Form::close() !!} @stop @push('after-scripts') @endpush