0001-misc-display-a-different-error-message-for-formdef-s.patch
wcs/formdef.py | ||
---|---|---|
387 | 387 | |
388 | 388 |
def create_form(self, page_no = 0, displayed_fields = None): |
389 | 389 |
form = Form(enctype = "multipart/form-data", use_tokens = False) |
390 |
# had: , use_tokens = not self.confirmation) |
|
390 |
form.ERROR_NOTICE = _('There were errors processing the form and ' |
|
391 |
'you cannot go to the next page. Do ' |
|
392 |
'check below that you filled all fields correctly.') |
|
391 | 393 |
self.add_fields_to_form(form, page_no = page_no, displayed_fields = displayed_fields) |
392 | 394 |
return form |
393 | 395 | |
394 |
- |