@extends('admin.layout.master') @section('admin')
{{ Breadcrumbs::render('admin.contents.categories.detail',$contentCategory) }}

{!! trans('admin/contents.categories.detail.title',['title'=>$contentCategory->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/contents.categories.form.status")) }} {{html()->select()->options( $form['statuses'])->name("status")->required(true)->value($contentCategory->status)->id("form-status")->class("form-control")}}
{{html()->label()->for("lang")->html(trans("admin/contents.categories.form.lang")) }} {{html()->span()->html($contentCategory->language!==null ? $contentCategory->language->title : $contentCategory->lang_code)->id("form-lang")->class("form-control")}}
{{html()->label()->for("formTitle")->html(trans("admin/contents.categories.form.title")) }} {{html()->input()->name("title")->id("formTitle")->required(true)->value($contentCategory->title)->class("form-control")}}
{{html()->label()->for("description")->html(trans("admin/contents.categories.form.description")) }} {{html()->textarea()->name("description")->value($contentCategory->description)->id("form-description")->class("form-control editor")->style(['min-height'=>'150px','max-height'=>'150px'])}}
{{html()->label()->for("formSlug")->html(trans("admin/contents.categories.form.slug")) }} {{html()->input()->name("slug")->required(true)->value($contentCategory->slug)->disabled(true)->id("formSlug")->class("form-control")}} {{html()->checkbox()->name("slug_status")->id("formSlugStatusInfo")}} {{html()->label()->for("formSlugStatusInfo")->html(trans("admin/contents.categories.form.slug_status"))->style(['font-size'=>'12px'])}}
{{html()->label()->for("image")->html(trans("admin/contents.categories.form.image")) }} {{html()->file()->name("image")->id("form-image")->class("form-control")}}
@if(!empty($imageFull)) @endif
{{html()->label()->for("banner_image")->html(trans("admin/contents.categories.form.banner_image")) }} {{html()->file()->name("banner_image")->id("form-banner_image")->class("form-control")}} @if(!empty($bannerImageFull)) @endif
{{html()->label()->for("seo_title")->html(trans("admin/contents.categories.form.seo_title")) }} {{html()->input()->name("seo_title")->id("form-seo_title")->value($contentCategory->seo_title)->class("form-control")}}
{{html()->label()->for("seo_keywords")->html(trans("admin/contents.categories.form.seo_keywords")) }} {{html()->input()->name("seo_keywords")->id("form-seo_keywords")->value($contentCategory->seo_keywords)->class("form-control")}}
{{html()->label()->for("seo_description")->html(trans("admin/contents.categories.form.seo_description")) }} {{html()->textarea()->name("seo_description")->value($contentCategory->seo_description)->id("form-seo_description")->class("form-control")->style(['min-height'=>'100px','max-height'=>'100px'])}}
{{ html()->button()->type("submit")->class("btn btn-info btn-sm")->id("btnAction")->html(trans("admin/contents.categories.detail.form.action")) }}
{{ html()->form()->close() }}
@endsection @section('admin.javascript')