<li class="mb-2">
    <div class="input-group">
        <input type="(( type ))" class="form-control" name="(( name ))" value="(( value ))" hx-validate="true" required>
        (% if can_rw %)<button type="button" class="btn btn-secondary kanidm-remove-list-entry">Remove</button>(% endif %)
    </div>
    <div class="invalid-feedback">(( invalid_feedback ))</div>
</li>