Show More
@@ -314,6 +314,9 b' class AdminSettingsView(BaseAppView):' | |||||
314 | try: |
|
314 | try: | |
315 | form_result = application_form.to_python(dict(self.request.POST)) |
|
315 | form_result = application_form.to_python(dict(self.request.POST)) | |
316 | except formencode.Invalid as errors: |
|
316 | except formencode.Invalid as errors: | |
|
317 | h.flash( | |||
|
318 | _("Some form inputs contain invalid data."), | |||
|
319 | category='error') | |||
317 | data = render('rhodecode:templates/admin/settings/settings.mako', |
|
320 | data = render('rhodecode:templates/admin/settings/settings.mako', | |
318 | self._get_template_context(c), self.request) |
|
321 | self._get_template_context(c), self.request) | |
319 | html = formencode.htmlfill.render( |
|
322 | html = formencode.htmlfill.render( | |
@@ -386,6 +389,9 b' class AdminSettingsView(BaseAppView):' | |||||
386 | try: |
|
389 | try: | |
387 | form_result = application_form.to_python(dict(self.request.POST)) |
|
390 | form_result = application_form.to_python(dict(self.request.POST)) | |
388 | except formencode.Invalid as errors: |
|
391 | except formencode.Invalid as errors: | |
|
392 | h.flash( | |||
|
393 | _("Some form inputs contain invalid data."), | |||
|
394 | category='error') | |||
389 | data = render('rhodecode:templates/admin/settings/settings.mako', |
|
395 | data = render('rhodecode:templates/admin/settings/settings.mako', | |
390 | self._get_template_context(c), self.request) |
|
396 | self._get_template_context(c), self.request) | |
391 | html = formencode.htmlfill.render( |
|
397 | html = formencode.htmlfill.render( | |
@@ -705,7 +711,7 b' class AdminSettingsView(BaseAppView):' | |||||
705 | form_result = application_form.to_python(dict(self.request.POST)) |
|
711 | form_result = application_form.to_python(dict(self.request.POST)) | |
706 | except formencode.Invalid as errors: |
|
712 | except formencode.Invalid as errors: | |
707 | h.flash( |
|
713 | h.flash( | |
708 |
_( |
|
714 | _("Some form inputs contain invalid data."), | |
709 | category='error') |
|
715 | category='error') | |
710 | data = render('rhodecode:templates/admin/settings/settings.mako', |
|
716 | data = render('rhodecode:templates/admin/settings/settings.mako', | |
711 | self._get_template_context(c), self.request) |
|
717 | self._get_template_context(c), self.request) |
General Comments 0
You need to be logged in to leave comments.
Login now