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


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

    <div class="photos main_photo {{ old('performance_development_image', $page->performance_development_image ?? null) ? ' wow fadeInUp' : 'hide' }}">
        <div class="col-lg-4">
            <div class="items">
                <div class="img">
                    <a href="#" id="lfm" data-input=".performance_development_image_thumbnail" data-preview=".performance_development_image_holder" class="lfm" data-hide=".pick_button">
                        <img src="{{($page->performance_development_image ?? null) ? asset(old('performance_development_image', $page->performance_development_image ?? null)) : ''}} "  id="performance_development_image_holder" class="performance_development_image_holder"/>
                    </a>
                </div>
                <a href="#" class="showHide resetImage close" data-empty=".performance_development_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('performance_development_image', $page->performance_development_image ?? null) ? 'hide' : '' }} ">
                <a id="lfm" data-input=".performance_development_image_thumbnail" data-preview=".performance_development_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 performance_development_image container--}}
