   
<form action="" method="post" name="hm" id="hm-Settings-NewLDAP" enctype="multipart/form-data" class='form-horizontal form-label-left'>

    <div class="card panel-info shadow-sm rounded">
        <div class="card-header">
            <div class="row">
                <div class="col-md-6">
                    <span class="fcs-card-title h4">[% $user->gettext('Neuer LDAP-Server') %]</span>
                </div>
                <div class="col-md-6 text-end">
                    <div class="btn-group">
                        <input type="hidden" name="storeLDAPServer" value="1" />
                        <input type="submit" class="btn btn-outline-primary btn-sm" value="[% $user->gettext('Speichern') %]" />                            
                    </div>
                </div>
            </div>
        </div>
        <div class="card-body">
            <div class="form-group row mb-3">
                <label class="col-lg-4 control-label">[% $user->gettext('Servertyp') %]</label>
                <div class="col-lg-8">
                    <select size="1" name="LDAPType" class="form-control">
                        <option value="0">LDAP</option>
                        <option value="1">ActiveDirectory</option>
                    </select>
                </div>
            </div>

            <div class="form-group row mb-3">
                <label class="col-lg-4 control-label">[% $user->gettext('Server') %]</label>
                <div class="col-lg-8">
                    <input type="text" name="Server" value="" class="form-control" maxlength="50" />
                </div>
            </div>

            <div class="form-group row mb-3">
                <label class="col-lg-4 control-label">[% $user->gettext('Port') %]</label>
                <div class="col-lg-8">
                    <input type="text" name="Port" value="389" class="form-control" maxlength="5" />
                </div>
            </div>

            <div class="form-group row mb-3">
                <label class="col-lg-4 control-label">[% $user->gettext('Domain') %]</label>
                <div class="col-lg-8">
                    <input type="text" name="Domain" value="" class="form-control" maxlength="50" />
                </div>
            </div>            

            <div class="form-group row mb-3">
                <label class="col-lg-4 control-label">[% $user->gettext('BaseDN') %]</label>
                <div class="col-lg-8">
                    <input type="text" name="BaseDN" value="" class="form-control" maxlength="100" placeholder='dc=example,dc=com'/>
                </div>
            </div>   
            <div class="form-group row mb-3">
                <label class="col-lg-4 control-label">[% $user->gettext('Filter') %]</label>
                <div class="col-lg-8">
                    <input type="text" name="Filter" value="" class="form-control" maxlength="200" placeholder='mail=*example*'/>
                </div>
            </div>   
            <div class="form-group row mb-3">
                <label class="col-lg-4 control-label">[% $user->gettext('Benutzer') %]</label>
                <div class="col-lg-8">
                    <input type="text" name="LDAPUser" value="" class="form-control" maxlength="100" />
                </div>
            </div>  
            <div class="form-group row mb-3">
                <label class="col-lg-4 control-label">[% $user->gettext('Passwort') %]</label>
                <div class="col-lg-8">
                    <input type="password" name="LDAPPassword" placeholder="[% $user->gettext('Passwort eingeben')%]" value="" class="form-control" maxlength="50" />
                </div>
            </div>  
            <div class="form-group row mb-3">
                <label class="col-lg-4 control-label">[% $user->gettext('Priorität in Liste') %]</label>
                <div class="col-lg-8">
                    <input type="text" name="LDAPPrio" value="" class="form-control" size="3" maxlength="3" />
                </div>
            </div>                  
        </div>
    </div>     
</form>

