@if (isset($hasChildren) && !$hasChildren) {{-- To append in the form (will replace the category field) --}} @if (isset($category) && !empty($category)) {{-- @if (!empty($category->parent)) @includeFirst( [ config('larapen.core.customizedViewPath') . 'post.createOrEdit.inc.category.parent', 'post.createOrEdit.inc.category.parent' ], ['parent' => $category->parent] ) »  @endif --}} @if (isset($category->children) && $category->children->count() > 0) {{ $category->name }} @else {{ $category->name }}  [ {{ t('Edit') }} ] @endif @else {{ t('select_a_category') }} @endif @else {{-- To append in the modal (will replace the modal content) --}} @if (isset($category) && !empty($category))

{{ t('go_to_parent_categories') }}   {{ $category->name }}

@endif @if (isset($categories) && $categories->count() > 0) @if (isset($categoriesOptions) && isset($categoriesOptions['cat_display_type']))
@endif @else {{ t('no_categories_found') }}... @endif @endif @section('before_scripts') @parent @if (isset($categoriesOptions) && isset($categoriesOptions['max_sub_cats']) && $categoriesOptions['max_sub_cats'] >= 0) @endif @endsection