<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>{{  __('features.title') }} {{ count($languages) > 1 ? "({$language->name})" : '' }} </label>
            <input type="text" class="form-control" id="features_{{$key}}_title_{{ $language->local }}"  name="features[{{$key}}][title_{{ $language->local }}]" placeholder="{{ __('features.title') }} {{ $language->local }}" @if(isset($feature)) value="{{$feature->descriptions($language->id)->title}}" @endif/>
        </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>
    @foreach($languages as $language)
        <div class="form-group col-lg-6">
            <label>{{  __('features.description') }} {{ count($languages) > 1 ? "({$language->name})" : '' }} </label>
            <textarea type="text" class="form-control" id="features_{{$key}}_description_{{ $language->local }}"  name="features[{{$key}}][description_{{ $language->local }}]" placeholder="{{ __('features.description') }} {{ $language->local }}">@if(isset($feature)){{$feature->descriptions($language->id)->description}} @endif</textarea>
        </div>
    @endforeach
    <div class="form-group col-lg-6">
        <label>{{ __('features.image') }}</label>
        <input id="old_image_{{$key}}" type="hidden" name="features[{{$key}}][old_image]" value="{{ $feature->image ?? ""}}"/>
        <input type="file" class="form-control" name="features[{{$key}}][image]" accept="image/*"/>
        @if (($feature->image ?? null) && ($feature->image_url ?? null))
            <a href="{{ $feature->image_url }}" class="btn btn-primary mt-2" target="_new"><i class="fas fa-download"></i></a>
        @endif
    </div>
</div>
