<div class="fv-row mb-10">
    <label class="d-block fw-semibold fs-6 mb-5">
        <span>{{ __('lang.' . $label) }}</span>
    </label>
    <div class="image-input image-input-outline image-input-placeholder" data-kt-image-input="true">
        <div class="image-input-wrapper w-125px h-125px"
            @isset($model) style='background-image:url({{ $model[$name] ?? $model->image }})'@endisset>
        </div>
        <label class="btn btn-icon btn-circle btn-active-color-primary w-25px h-25px bg-body shadow"
            data-kt-image-input-action="change">
            <i class="fa fa-pencil fs-7"></i>
            <input type="file" name="{{ $name }}" accept=".png, .jpg, .jpeg">
            <input type="hidden" name="avatar_remove">
        </label>
        <span class="btn btn-icon btn-circle btn-active-color-primary w-25px h-25px bg-body shadow"
            data-kt-image-input-action="cancel">
            <i class="fa fa-remove fs-2"></i>
        </span>
        <span class="btn btn-icon btn-circle btn-active-color-primary w-25px h-25px bg-body shadow"
            data-kt-image-input-action="remove">
            <i class="fa fa-remove fs-2"></i>
        </span>
    </div>
    <div class="form-text">{{ __('lang.allowedsettingtypes') }}</div>
</div>
