{% include "components/forms/input.html.twig" with {
        type: "password",
        name: entry.field_id,
        id: entry.field_id,
        required: entry.required,
        disabled: entry.disabled,
        label: entry.label,
        autocomplete: "off",
        value: null,
        component_id: entry.field_id ~ '_field',
    }
%}
{% include "components/forms/input.html.twig" with {
        type: "password",
        name: "mdp_adh2",
        id: "mdp_adh2",
        required: entry.required,
        disabled: entry.disabled,
        label: _T("Password confirmation:"),
        autocomplete: "off",
        elt_class: "labelalign",
        value: null,
    }
%}
<script type="text/javascript">
    $(function() {
        {% include "elements/js/pwdcheck.js.twig" with {
                selector: '#' ~ entry.field_id,
                loader: 'inline mini'
        } %}
    });
</script>
