@include('admin.components.form.input',[
'label' => "Title (First Section)*",
'name' => $default_lang_code . "_fitst_section_title",
'value' => old($default_lang_code . "_fitst_section_title",$data->value->language->$default_lang_code->fitst_section_title ?? "")
])
@include('admin.components.form.input',[
'label' => "Heading (First Section)*",
'name' => $default_lang_code . "_fitst_section_heading",
'value' => old($default_lang_code . "_fitst_section_heading",$data->value->language->$default_lang_code->fitst_section_heading ?? "")
])
@include('admin.components.form.textarea',[
'label' => "Sub Heading (First Section)*",
'name' => $default_lang_code . "_first_section_sub_heading",
'value' => old($default_lang_code . "_first_section_sub_heading",$data->value->language->$default_lang_code->first_section_sub_heading ?? "")
])
@include('admin.components.form.input',[
'label' => "Button Name (First Section)*",
'name' => $default_lang_code . "_first_section_button_name",
'value' => old($default_lang_code . "_first_section_button_name",$data->value->language->$default_lang_code->first_section_button_name ?? "")
])
{{-- //second sections --}}
@include('admin.components.form.input',[
'label' => "Title (Second Section)*",
'name' => $default_lang_code . "_second_section_title",
'value' => old($default_lang_code . "_second_section_title",$data->value->language->$default_lang_code->second_section_title ?? "")
])
@include('admin.components.form.input',[
'label' => "Heading (Second Section)*",
'name' => $default_lang_code . "_second_section_heading",
'value' => old($default_lang_code . "_second_section_heading",$data->value->language->$default_lang_code->second_section_heading ?? "")
])
@include('admin.components.form.textarea',[
'label' => "Sub Heading (Second Section)*",
'name' => $default_lang_code . "_second_section_sub_heading",
'value' => old($default_lang_code . "_second_section_sub_heading",$data->value->language->$default_lang_code->second_section_sub_heading ?? "")
])
@include('admin.components.form.input',[
'label' => "Video Link (Second Section)*",
'name' => $default_lang_code . "_second_section_video_link",
'value' => old($default_lang_code . "_second_section_video_link",$data->value->language->$default_lang_code->second_section_video_link ?? "")
])
@foreach ($languages as $item)
@php
$lang_code = $item->code;
@endphp
@include('admin.components.form.input',[
'label' => "Title (First Section)*",
'name' => $lang_code . "_fitst_section_title",
'value' => old($lang_code . "_fitst_section_title",$data->value->language->$lang_code->fitst_section_title ?? "")
])
@include('admin.components.form.input',[
'label' => "Heading (First Section)*",
'name' => $lang_code . "_fitst_section_heading",
'value' => old($lang_code . "_fitst_section_heading",$data->value->language->$lang_code->fitst_section_heading ?? "")
])
@include('admin.components.form.textarea',[
'label' => "Sub Heading (First Section)*",
'name' => $lang_code . "_first_section_sub_heading",
'value' => old($lang_code . "_first_section_sub_heading",$data->value->language->$lang_code->first_section_sub_heading ?? "")
])
@include('admin.components.form.input',[
'label' => "Button Name (First Section)*",
'name' => $lang_code . "_first_section_button_name",
'value' => old($lang_code . "_first_section_button_name",$data->value->language->$lang_code->first_section_button_name ?? "")
])
{{-- //second sections --}}
@include('admin.components.form.input',[
'label' => "Title (Second Section)*",
'name' => $lang_code . "_second_section_title",
'value' => old($lang_code . "_second_section_title",$data->value->language->$lang_code->second_section_title ?? "")
])
@include('admin.components.form.input',[
'label' => "Heading (Second Section)*",
'name' => $lang_code . "_second_section_heading",
'value' => old($lang_code . "_second_section_heading",$data->value->language->$lang_code->second_section_heading ?? "")
])
@include('admin.components.form.textarea',[
'label' => "Sub Heading (Second Section)*",
'name' => $lang_code . "_second_section_sub_heading",
'value' => old($lang_code . "_second_section_sub_heading",$data->value->language->$lang_code->second_section_sub_heading ?? "")
])
@endforeach