@if (isset($product) && $product->image_url) {{ $product->name }} @else users avatar @endif

{{ isset($product) ? $product->name : trans('dashboard.general.image') }}

{!! Form::text('name', null , ['class' => 'form-control','id' => "full-name-column" , 'placeholder' => trans('dashboard.product.name')]) !!}
{{--
{!! Form::select('category_id', $categories, null , ['class' => 'select2' , 'placeholder' => trans('dashboard.category.category') , 'id' => 'modern-category']) !!}
--}}
{!! Form::select("category_id", $categories, null, ['class' => 'select2 form-control', 'placeholder' => trans('dashboard.category.category')]) !!}
{!! Form::text('price', null , ['class' => 'form-control','id' => "full-price-column" , 'placeholder' => trans('dashboard.product.price')]) !!}
{!! Form::select("quantity_name", trans('dashboard.product.quantity_names'), null, ['class' => 'select2 form-control', 'placeholder' => trans('dashboard.product.quantity_name')]) !!}
{{--
{!! Form::select('district_id', $districts, null , ['class' => 'select2 w-100' , 'placeholder' => trans('dashboard.district.district') , 'id' => 'modern-country']) !!}
--}}
@section('vendor_styles') @endsection @section('page_styles') @endsection @section('vendor_scripts') @endsection @section('page_scripts') @endsection