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

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

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