@foreach($languages as $language)
    <div class="form-group col">
        <label>{{ meta('culture_values_title', $language->local) ?? __('pages.culture_values_title') }} {{ count($languages) > 1 ? "({$language->name})" : '' }} </label>
        <input type="text" class="form-control {{ $errors->has('culture_values_title_'.$language->local) ? 'is-invalid' : '' }}" name="culture_values_title_{{ $language->local }}" placeholder="{{ meta('culture_values_title', $language->local) ?? __('pages.culture_values_title') }}" value='{{ old("culture_values_title_{$language->local}", $page[$language->local]->culture_values_title ?? "") }}'/>
    </div>
    <div class="form-group col-lg-12">
        <label>{{ meta('culture_values_description', $language->local) ?? __('pages.culture_values_description') }} {{ count($languages) > 1 ? "({$language->name})" : '' }} </label>
        <textarea name="culture_values_description_{{ $language->local }}" class="form-control my-editor {{ $errors->has('culture_values_description_'.$language->local) ? 'is-invalid' : '' }}" placeholder="{{ meta('culture_values_description', $language->local) ?? __('pages.culture_values_description') }}">{{ old("culture_values_description_{$language->local}", $page[$language->local]->culture_values_description ?? "") }}</textarea>
    </div>
@endforeach


{{--Start culture_values_image container--}}
<div class="form-group col-lg-12">
    <label>{{ meta('culture_values_image', $lang) ?? __('pages.culture_values_image') }} </label>
    <input id="culture_values_image_thumbnail" class="culture_values_image_thumbnail" type="hidden" name="culture_values_image" value="{{old("culture_values_image", $page->culture_values_image ?? null)}}"/>

    <div class="photos main_photo {{ old('culture_values_image', $page->culture_values_image ?? null) ? ' wow fadeInUp' : 'hide' }}">
        <div class="col-lg-4">
            <div class="items">
                <div class="img">
                    <a href="#" id="lfm" data-input=".culture_values_image_thumbnail" data-preview=".culture_values_image_holder" class="lfm" data-hide=".pick_button">
                        <img src="{{($page->culture_values_image ?? null) ? asset(old('culture_values_image', $page->culture_values_image ?? null)) : ''}} "  id="culture_values_image_holder" class="culture_values_image_holder"/>
                    </a>
                </div>
                <a href="#" class="showHide resetImage close" data-empty=".culture_values_image_thumbnail" data-hide=".main_photo" data-show=".pick_button"><i class="fas fa-times"></i></a>
            </div>
        </div>
    </div>

    <div class="clearfix"></div>
    <span class="input-group-btn pick_button {{ old('culture_values_image', $page->culture_values_image ?? null) ? 'hide' : '' }} ">
                <a id="lfm" data-input=".culture_values_image_thumbnail" data-preview=".culture_values_image_holder" data-show=".main_photo" data-hide=".pick_button" class="lfm btn btn-primary text-light">
                    <i class="fas fa-camera-retro"></i> Choose
                </a>
            </span>
</div>
{{--End culture_values_image container--}}
