X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/b254dac2fb1430016615c3a6d47ac74c1a844e50..646fb741c70fa259aa3d92aa5d1d535ca54d4897:/contact/views.py?ds=sidebyside diff --git a/contact/views.py b/contact/views.py index 4d5a40f..e52b6b2 100644 --- a/contact/views.py +++ b/contact/views.py @@ -18,7 +18,7 @@ def form(request, form_tag, force_enabled=False): not (force_enabled and request.user.is_superuser)): template = getattr(form_class, 'disabled_template', None) if template: - return render(request, template) + return render(request, template, {'title': form_class.form_title}) raise Http404 if request.method == 'POST': form = form_class(request.POST, request.FILES)