enhancements of register
This commit is contained in:
parent
d6e28f60a5
commit
8997b1fe27
2 changed files with 2 additions and 2 deletions
|
|
@ -371,7 +371,7 @@ class AuMBackend(BaseBackend, ICapMessages, ICapMessagesPost, ICapDating, ICapCh
|
|||
Value('username', label='Email address', regexp='^[^ ]+@[^ ]+\.[^ ]+$'),
|
||||
Value('password', label='Password', regexp='^[^ ]+$', masked=True),
|
||||
Value('sex', label='Sex', choices={'0': 'Male', '1': 'Female'}),
|
||||
Value('birthday', label='Birthday', regexp='^\d+/\d+/\d+$'),
|
||||
Value('birthday', label='Birthday (dd/mm/yyyy)', regexp='^\d+/\d+/\d+$'),
|
||||
Value('zipcode', label='Zipcode'),
|
||||
Value('country', label='Country', choices={'fr': 'France', 'be': 'Belgique', 'ch': 'Suisse', 'ca': 'Canada'}, default='fr'),
|
||||
Value('godfather',label='Godfather', regexp='^\d*$', default=''),
|
||||
|
|
|
|||
|
|
@ -303,7 +303,7 @@ class BackendCfg(QDialog):
|
|||
website = 'on the website <b>%s</b>' % backend.website
|
||||
else:
|
||||
website = 'with the backend <b>%s</b>' % backend.name
|
||||
vbox.addWidget(QLabel('To create an account %s, please give that informations:' % website))
|
||||
vbox.addWidget(QLabel('To create an account %s, please give these informations:' % website))
|
||||
formlayout = QFormLayout()
|
||||
props_widgets = OrderedDict()
|
||||
for key, prop in backend.klass.ACCOUNT_REGISTER_PROPERTIES.iteritems():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue