@include('admin.components.form.input', [
'label' => __('Section Title') . '*',
'name' => $default_lang_code . '_section_title',
'value' => old(
$default_lang_code . '_section_title',
$data->value->language->$default_lang_code->section_title ?? ''),
])
@include('admin.components.form.input', [
'label' => __('Title') . '*',
'name' => $default_lang_code . '_title',
'value' => old(
$default_lang_code . '_title',
$data->value->language->$default_lang_code->title ?? ''),
])
@include('admin.components.form.input', [
'label' => __('Section Icon') . '*',
'name' => $default_lang_code . '_section_icon',
'value' => old(
$default_lang_code . '_section_icon',
$data->value->language->$default_lang_code->section_icon ?? ''),
'class' =>
'form--control icp icp-auto iconpicker-element iconpicker-input',
])
@foreach ($languages as $item)
@php
$lang_code = $item->code;
@endphp
@include('admin.components.form.input', [
'label' => __('Section Title') . '*',
'name' => $item->code . '_section_title',
'value' => old(
$item->code . '_section_title',
$data->value->language->$lang_code->section_title ?? ''),
])
@include('admin.components.form.input', [
'label' => __('Title') . '*',
'name' => $item->code . '_title',
'value' => old(
$item->code . '_title',
$data->value->language->$lang_code->title ?? ''),
])
@include('admin.components.form.input', [
'label' => __('Section Icon') . '*',
'name' => $lang_code . '_section_icon',
'value' => old(
$lang_code . '_section_icon',
$data->value->language->$lang_code->section_icon ?? ''),
'class' =>
'form--control icp icp-auto iconpicker-element iconpicker-input',
])
@endforeach