@php $translation = $shop_translation->translation ?? null; @endphp {{ Form::hidden('lang', $selected_language) }}

{{ $shop->hasTranslation($selected_language) ? trans('app.update_model_translation', ['model' => trans('app.model.shop')]) : trans('app.add_model_translation', ['model' => trans('app.model.shop')]) }} | {{ trans('app.name') . ':' }} {{ $shop->name }}

{{ Form::text('name', $translation['name'] ?? null, ['id' => 'name', 'class' => 'form-control', 'placeholder' => trans('app.placeholder.name')]) }}
{{ Form::textarea('description', $translation['description'] ?? null, ['id' => 'description', 'class' => 'form-control summernote', 'rows' => 8, 'placeholder' => trans('app.placeholder.description')]) }}
{{ $errors->first('description', ':message') }}