argh, silly

This commit is contained in:
Sanj 2012-11-16 04:46:37 +05:30
parent 08c2b6352b
commit 637b6d4c5c

View File

@ -206,7 +206,7 @@ $(function(){
</div>
{% else %}
<div class="formset_help_text">
{% if not galleries.objects.all %}
{% if not galleries %}
You haven't added any galleries yet.
{% else %}
Click an existing gallery to edit:
@ -214,7 +214,7 @@ $(function(){
</div>
{% if galleries %}
<div class="galleryFormWrapper">
{% for gallery in galleries.objects.all %}
{% for gallery in galleries %}
<div class="galleryFormList">
<a href="{{ gallery.get_edit_url }}" />{{ gallery.title }}</a>
</div>