@if (isset($url) && $url != '')
{!! Form::label("qrCode", "QrCode", ['class' => 'col-sm-2 control-label','for'=>'qrCode']) !!}
{!! Form::label("url", "Url", ['class' => 'col-sm-2 control-label','for'=>'url']) !!}
{!! Form::text("slug", old('slug', $url ?? ''), ['class' => 'form-control','placeholder'=>"",'id'=>'slug','readonly']) !!}
@endif
{!! Html::decode(Form::label("category_id", "Category", ['class' => 'col-sm-2 control-label','for'=>'ourBrand'])) !!}
@if ($errors->has('category_id')) @endif
{!! Html::decode(Form::label("brand_id", "Brands", ['class' => 'col-sm-2 control-label','for'=>'ourBrand'])) !!}
@if ($errors->has('brand_id')) @endif
@include('layouts.web-admin.thumb',["pathFile"=>$product->pathFile ?? '',"filename"=>$product->thumb ?? '',"action_page"=>$action_page??"create"])
{!! Html::decode(Form::label("title_th", "Title TH *", ['class' => 'col-sm-2 control-label','for'=>'title_th'])) !!}
{!! Form::text("title_th", old('title_th', $product->title_th ?? ''), ['class' => 'form-control','placeholder'=>"",'id'=>'title_th',(isset($action_page) && $action_page=="view")?"disabled":""]) !!} @if ($errors->has('title_th')) @endif
{!! Form::label("product_name_th", "Product Name TH", ['class' => 'col-sm-2 control-label','for'=>'title_th']) !!}
{!! Form::text("product_name_th", old('product_name_th', $product->product_name_th ?? ''), ['class' => 'form-control','placeholder'=>"",'id'=>'product_name_th',(isset($action_page) && $action_page=="view")?"disabled":""]) !!} @if ($errors->has('product_name_th')) @endif
{!! Form::label("content_th", "Content EN", ['class' => 'col-sm-2 control-label','for'=>'content_th']) !!}
{!! Html::decode(Form::label("title_en", "Title EN *", ['class' => 'col-sm-2 control-label','for'=>'title_en'])) !!}
{!! Form::text("title_en", old('title_en', $product->title_en ?? ''), ['class' => 'form-control','placeholder'=>"",'id'=>'title_en',(isset($action_page) && $action_page=="view")?"disabled":""]) !!} @if ($errors->has('title_en')) @endif
{!! Form::label("product_name_en", "Product Name EN", ['class' => 'col-sm-2 control-label','for'=>'title_en']) !!}
{!! Form::text("product_name_en", old('product_name_en', $product->product_name_en ?? ''), ['class' => 'form-control','placeholder'=>"",'id'=>'product_name_en',(isset($action_page) && $action_page=="view")?"disabled":""]) !!} @if ($errors->has('product_name_en')) @endif
{!! Form::label("content_en", "Content EN", ['class' => 'col-sm-2 control-label','for'=>'content_en']) !!}
@include('layouts.web-admin.thumb_album_1',["pathFile"=>$product->pathFile ?? '',"filename"=>$product->album_1 ?? '',"action_page"=>$action_page??"create"]) @include('layouts.web-admin.thumb_album_2',["pathFile"=>$product->pathFile ?? '',"filename"=>$product->album_2 ?? '',"action_page"=>$action_page??"create"]) @include('layouts.web-admin.thumb_album_3',["pathFile"=>$product->pathFile ?? '',"filename"=>$product->album_3 ?? '',"action_page"=>$action_page??"create"]) @include('layouts.web-admin.startEndDate',["startDate"=>$product->startDate ?? '',"endDate"=>$product->endDate ?? '',"action_page"=>$action_page??"create"]) @include('layouts.web-admin.status',["status"=>$product->status ?? 'Active',"action_page"=>$action_page??"create"])