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