X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..3d9be6abb7457c06dd81f6e2bc41984bb656fab4:/src/infopages/views.py?ds=inline

diff --git a/src/infopages/views.py b/src/infopages/views.py
index 443fbdab1..9f21ed7ba 100644
--- a/src/infopages/views.py
+++ b/src/infopages/views.py
@@ -19,6 +19,10 @@ def infopage(request, slug):
     try:
         right_column = Template(page.right_column).render(rc)
     except TemplateSyntaxError:
-        left_column = ''
+        right_column = ''
 
-    return render_to_response('infopages/infopage.html', locals(), context_instance=RequestContext(request))
+    return render_to_response('infopages/infopage.html', {
+        'page': page,
+        'left_column': left_column,
+        'right_column': right_column,
+    }, context_instance=RequestContext(request))