@php
$default_lang_code = language_const()::NOT_REMOVABLE;
@endphp
@include('admin.components.form.input',[
'label' => __("Title")."*",
'name' => $default_lang_code . "_title",
'value' => old($default_lang_code . "_title", $data->title->language->$default_lang_code->title ?? "")
])
@include('admin.components.form.input',[
'label' => __("Our Goal")."*",
'name' => "our_goal",
'value' => old("our_goal",$data->our_goal ?? "", $data->our_goal ?? "")
])
@foreach ($languages as $item)
@php
$lang_code = $item->code;
@endphp
@include('admin.components.form.input',[
'label' => __("Title")."*",
'name' => $lang_code . "_title",
'value' => old($lang_code . "_title",$data->title->language->$lang_code->title ?? "")
])
@endforeach