From: zuber Date: Tue, 17 Nov 2009 14:44:06 +0000 (+0100) Subject: Poprawienie "gallery_from" -> "gallery_form". X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/325dea54f6083bbf3ffb2bde983922d799a46f68?hp=563c8930b3b5643399dc409f6ed139f7289b6ea7 Poprawienie "gallery_from" -> "gallery_form". --- diff --git a/apps/explorer/views.py b/apps/explorer/views.py index 7f866a35..679d0065 100755 --- a/apps/explorer/views.py +++ b/apps/explorer/views.py @@ -39,7 +39,7 @@ def display_editor(request, path): dictionary = { 'fileid': path, 'euser': user, - 'gallery_from': gallery_form, + 'gallery_form': gallery_form, 'available_themes': ({'first_letter': t.name[0].upper(), 'name': t.name} for t in Theme.objects.order_by('name')), }, context_instance=RequestContext(request)) diff --git a/platforma/templates/explorer/editor.html b/platforma/templates/explorer/editor.html index 7eca642d..a2ec61f4 100755 --- a/platforma/templates/explorer/editor.html +++ b/platforma/templates/explorer/editor.html @@ -211,7 +211,7 @@ Themes in the database - {% regroup availble_themes by first_letter as grouped_themes %} + {% regroup available_themes by first_letter as grouped_themes %} {% for letter in grouped_themes %} {{ letter.grouper }}