@include('load.form.password_toggle')

<div class="row mb-3 mt-3">
    <label for="new-password" class="col-md-6 control-label text-right">Mot de passe actuel</label>
    <div class="col-md-6">
        @include('components.form.input', [
            'name' => $prefix ?? false ? $prefix . "['current-password']" : 'current-password',
            'label' => $label ?? '',
            'type' => 'password',
        ])
    </div>
</div>

<div class="row mb-3">
    <label for="new-password" class="col-md-6 control-label text-right">Nouveau mot de passe</label>

    <div class="col-md-6">
        <input id="new-password" type="password" class="form-control" name="new-password">
        @include('Shop.auth.partials.password_rules', ['passwordInputId' => 'new-password'])
    </div>
</div>

<div class="row mb-3">
    <label for="new-password-confirm" class="col-md-6 control-label text-right">Confirmez votre mot de passe</label>

    <div class="col-md-6">
        <input id="new-password-confirm" type="password" class="form-control" name="new-password_confirmation">
    </div>
</div>
