@extends('Core.Admin.Http.Views.layout', [ 'title' => __('admin.title', ['name' => __($title)]), ]) @php $hasEditor = false; @endphp @push('content')
@t('def.back')

@t($title)

@t($description)

@csrf @foreach ($inputs as $val) @if ($val['hidden'] === true) @else
@if ($val['description']) @t($val['description']) @endif
@if ($val['type'] === 'checkbox') @elseif($val['type'] === 'editorjs')
@php $hasEditor = true; $editorValue = $val['value']; $editorKey = $val['key']; @endphp @else @endif
@endif @endforeach
@endpush @push('footer') @if ($hasEditor) @if (!empty($editorValue)) @endif @at('Core/Admin/Http/Views/assets/js/editor.js') @endif @endpush