@extends('admin.layout.master') @section('admin')
{{ Breadcrumbs::render('admin.product.brands.detail',$productBrand) }}

{!! trans('admin/product.brands.detail.title',['title'=>$productBrand->title]) !!}

{{ html()->form()->method('POST')->class("form modulForm")->id("modulForm")->autocomplete("off")->attribute('enctype','multipart/form-data')->open() }}
@if($errors->any())
@foreach ($errors->all() as $error) {!! $error !!}
@endforeach
@endif
{{html()->label()->for("status")->html(trans("admin/product.brands.form.status")) }} {{html()->select()->options( $form['statuses'])->required(true)->name("status")->value($productBrand->status)->id("form-status")->class("form-control")}}
{{html()->label()->for("lang")->html(trans("admin/product.brands.form.lang")) }} {{html()->span()->id("lang")->style(['font-size'=>'0.8rem'])->text($productBrand->language!==null ? $productBrand->language->title:$productBrand->lang_code)}}
{{html()->label()->for("formTitle")->html(trans("admin/product.brands.form.title")) }} {{html()->input()->name("title")->id("formTitle")->value($productBrand->title)->class("form-control")}}
{{html()->label()->for("description")->html(trans("admin/product.brands.form.description")) }} {{html()->textarea()->name("description")->value($productBrand->description)->id("form-description")->class("form-control editor")->style(['min-height'=>'150px','max-height'=>'150px'])}}
{{html()->label()->for("image")->html(trans("admin/product.brands.form.image")) }} {{html()->file()->name("image")->id("form-image")->class("form-control image")}} @if(!empty($productBrandImageFull)) @endif
{{html()->label()->for("formSlug")->html(trans("admin/product.brands.form.slug")) }} {{html()->input()->name("slug")->value($productBrand->slug)->disabled(true)->required(true)->id("formSlug")->class("form-control")}} {{html()->checkbox()->name("slug_status")->id("formSlugStatusInfo")}} {{html()->label()->for("formSlugStatusInfo")->html(trans("admin/product.brands.form.slug_status"))->style(['font-size'=>'12px'])}}
{{ html()->button()->type("submit")->class("btn btn-info btn-sm")->id("btnAction")->html(trans("admin/product.brands.detail.form.action")) }}
{{ html()->form()->close() }}
@endsection @section('admin.javascript')