For LDAP field which are numbers, check the format in the update form
This commit is contained in:
parent
c7ed36c95a
commit
41bdfec62f
|
@ -74,15 +74,30 @@ class IdentitiesStoreIFEF(authentic.identities.IdentitiesStoreLdap):
|
|||
on_register = False),
|
||||
# Attributs specificiques IFEF
|
||||
Field('numeroPassFormaAssMat', N_('Numero de pass assistante maternelle'),
|
||||
read_only = True, on_register = False),
|
||||
read_only = True, on_register = False,
|
||||
hint = _('Entrez un nombre decimal'),
|
||||
widget_class = 'ValidatedStringWidget',
|
||||
regex = r'^[0-9]*$'),
|
||||
Field('numeroPassFormaSPE', N_('Numero de pass SPE'), read_only = True,
|
||||
on_register = False),
|
||||
on_register = False,
|
||||
hint = _('Entrez un nombre decimal'),
|
||||
widget_class = 'ValidatedStringWidget',
|
||||
regex = r'^[0-9]*$'),
|
||||
Field('numeroURSSAF', N_('Numero URSSAF'), read_only = True,
|
||||
on_register = False),
|
||||
on_register = False,
|
||||
hint = _('Entrez un nombre decimal'),
|
||||
widget_class = 'ValidatedStringWidget',
|
||||
regex = r'^[0-9]*$'),
|
||||
Field('numeroPAJE', N_('Numero PAJE'), read_only = True,
|
||||
on_register = False),
|
||||
on_register = False,
|
||||
hint = _('Entrez un nombre decimal'),
|
||||
widget_class = 'ValidatedStringWidget',
|
||||
regex = r'^[0-9]*$'),
|
||||
Field('numeroIRCEM', N_('Numero IRCEM'), read_only = True,
|
||||
on_register = False),
|
||||
on_register = False,
|
||||
hint = _('Entrez un nombre decimal'),
|
||||
widget_class = 'ValidatedStringWidget',
|
||||
regex = r'^[0-9]*$'),
|
||||
Field('orgDn', N_('DN de l\'organisme d\'affiliation'), read_only =
|
||||
True, multivalued = True, invisible = True, widget_class =
|
||||
authentic.identities.IdentitiesStoreLdap.LdapDnWidget,
|
||||
|
|
Reference in New Issue