<div class="row pricing-list-item  mb-4"  style="background-color: rgba(21,97,203,0.1);height:auto;padding: 20px">


        @foreach($languages as $language)
            <div class="form-group col-lg-5">
                <label>{{  __('menu.name') }} {{ count($languages) > 1 ? "({$language->name})" : '' }} </label>
                <input type="text" id="items_{{$key}}_name_{{ $language->local }}" class="form-control {{ $errors->has('name_'.$language->local) ? 'is-invalid' : '' }}" name="items[{{$key}}][name_{{ $language->local }}]" placeholder="{{ meta('name', $language->local) ?? __('menu.name') }}"/>
            </div>
        @endforeach

        <div class="form-group col-lg-2" style="font-size: 30px;margin-top:35px;">
            <i class="fas fa-times-circle" onclick="remove(this)"></i>
        </div>


        <div class="form-group col-lg-12">
            <label>{{  __('menu.icon') }} </label>
            <input id="icon_{{$key}}_thumbnail" class="icon_{{$key}}_thumbnail" type="hidden" name="items[{{$key}}][image]" />

            <div class="photos main_icon_{{$key}}_photo hide">
                <div class="col-lg-4">
                    <div class="items">
                        <div class="img">
                            <a href="#" id="lfm" data-input=".icon_{{$key}}_thumbnail" data-preview=".icon_{{$key}}_holder" class="lfm" data-hide=".pick_icon_{{$key}}_button">
                                <img src=""  id="icon_{{$key}}_holder" class="icon_{{$key}}_holder"/>
                            </a>
                        </div>
                        <a href="#" class="showHide resetImage close" data-empty=".icon_{{$key}}_thumbnail" data-hide=".main_icon_{{$key}}_photo" data-show=".pick_icon_{{$key}}_button"><i class="fas fa-times"></i></a>
                    </div>
                </div>
            </div>

            <div class="clearfix"></div>
            <span class="input-group-btn pick_icon_{{$key}}_button ">
                <a id="lfm" data-input=".icon_{{$key}}_thumbnail" data-preview=".icon_{{$key}}_holder" data-show=".main_icon_{{$key}}_photo" data-hide=".pick_icon_{{$key}}_button" class="lfm btn btn-primary text-light">
                    <i class="fas fa-camera-retro"></i> {{__('dashboard.select')}}
                </a>
            </span>
        </div>

</div>

<script src="{{ asset('assets/admin/js/editor.js') }}"></script>
<script src="{{ asset('assets/admin/js/lfm.js') }}"></script>
