Poprawienie "gallery_from" -> "gallery_form".
authorzuber <marek@stepniowski.com>
Tue, 17 Nov 2009 14:44:06 +0000 (15:44 +0100)
committerzuber <marek@stepniowski.com>
Tue, 17 Nov 2009 14:44:06 +0000 (15:44 +0100)
apps/explorer/views.py
platforma/templates/explorer/editor.html

index 7f866a3..679d006 100755 (executable)
@@ -39,7 +39,7 @@ def display_editor(request, path):
         dictionary = {
             'fileid': path,
             'euser': user,
         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))
 
             'available_themes': ({'first_letter': t.name[0].upper(), 'name': t.name} for t in Theme.objects.order_by('name')),
         }, context_instance=RequestContext(request))
 
index 7eca642..a2ec61f 100755 (executable)
             
             <tbody>
                 <tr><th colspan="5">Themes in the database</th></tr>
             
             <tbody>
                 <tr><th colspan="5">Themes in the database</th></tr>
-            {% regroup availble_themes by first_letter as grouped_themes %}
+            {% regroup available_themes by first_letter as grouped_themes %}
 
             {% for letter in grouped_themes %}
             <tr><th colspan="5" class="letter-heading">{{ letter.grouper }}</th></tr>
 
             {% for letter in grouped_themes %}
             <tr><th colspan="5" class="letter-heading">{{ letter.grouper }}</th></tr>