${_('Connection settings')}
${h.checkbox('ldap_active',True,class_='small')}
${h.text('ldap_host',class_='small')}
${h.text('ldap_port',class_='small')}
${h.text('ldap_dn_user',class_='small')}
${h.password('ldap_dn_pass',class_='small')}
${h.checkbox('ldap_ldaps',True,class_='small')}
${h.select('ldap_tls_reqcert',c.tls_reqcert_cur,c.tls_reqcert_choices,class_='small')}
${_('Search settings')}
${h.text('ldap_base_dn',class_='small')}
${h.text('ldap_filter',class_='small')}
${h.select('ldap_search_scope',c.search_scope_cur,c.search_scope_choices,class_='small')}
${_('Attribute mappings')}
${h.text('ldap_attr_login',class_='small')}
${h.text('ldap_attr_firstname',class_='small')}
${h.text('ldap_attr_lastname',class_='small')}
${h.text('ldap_attr_email',class_='small')}
${h.submit('save','Save',class_="ui-button")}