@if ($artwork->id) {!! Form::model($artwork, ['route' => ['admin.artworks.update', $artwork->id], 'method' => 'PUT', 'id' => 'stage-create-form']) !!} @else {!! Form::model($artwork, ['route' => ['admin.artworks.store'], 'method' => 'POST', 'id' => 'stage-create-form']) !!} @endif
{{-- Featured Image --}}

{{-- Title --}}
{{ Form::label('title', __('Title'), ['class' => 'col-form-label']) }} {{ Form::text('title', $artwork->getRawOriginal('title'), ['class' => 'form-control', 'placeholder' => __('Title')]) }}
{{-- Title arabic --}}
{{ Form::label('title_ar', __('Title Arabic'), ['class' => 'col-form-label']) }} {{ Form::text('title_ar', null, ['class' => 'form-control', 'placeholder' => __('Title Arabic')]) }}
{{-- Program --}}
{{ Form::label('program_id', __('Program'), ['class' => 'col-form-label']) }} {!! Form::select('program_id', $programs ?? [], null, ['class' => 'form-select', 'data-kt-select2' => 'true', 'data-remote' => route('resource-select', ['Program']), 'data-allow-clear' => 'true', 'data-placeholder' => __('Select Program'), 'id' => 'artwork-programs-id']) !!}
{{-- Year --}}
{{ Form::label('year', __('Year'), ['class' => 'col-form-label']) }} {{ Form::text('year', null, ['class' => 'form-control', 'placeholder' => __('Year')]) }}
{{-- Description --}}
{{ Form::label('description', __('Description'), ['class' => 'col-form-label']) }} {{ Form::textarea('description', null, ['class' => 'form-control', 'placeholder' => __('Description'), 'rows' => 4]) }}
{{-- Save and Close Buttons --}}
{!! Form::close() !!}