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

{!! trans('admin/contents.content_features.detail.title',['title'=>$contentFeature->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.content_features.form.status")) }} {{html()->select()->options( $form['statuses'])->required(true)->name("status")->value($contentFeature->status)->id("form-status")->class("form-control")}}
{{html()->label()->for("lang")->html(trans("admin/contents.content_features.form.lang")) }} {{html()->span()->text($contentFeature->language!==null ? $contentFeature->language->title : $contentFeature->lang_code)->id("form-lang")->class("form-control")}}
{{html()->label()->for("formType")->html(trans("admin/contents.content_features.form.type")) }} {{html()->span()->text( $form['type'])->id("formType")->class("form-control")}}
{{html()->label()->for("formTitle")->html(trans("admin/contents.content_features.form.title")) }} {{html()->input()->name("title")->id("formTitle")->value($contentFeature->title)->required(true)->class("form-control")}}
{{html()->label()->for("formDescription")->html(trans("admin/contents.content_features.form.description")) }} {{html()->input()->name("description")->value($contentFeature->description)->id("formDescription")->class("form-control")}}
{{ html()->button()->type("submit")->class("btn btn-info btn-sm")->id("btnAction")->html(trans("admin/contents.content_features.detail.form.action")) }}
{{ html()->form()->close() }}
@endsection @section('admin.javascript')