Add a comment when we do / don't add collections dropdown
Otherwise that "del submit_form.collection" might be confusing :)
This commit is contained in:
parent
43cf0a68f2
commit
9bc8c8709d
@ -56,6 +56,8 @@ def submit_start(request):
|
||||
type=Collection.USER_DEFINED_TYPE
|
||||
).order_by(Collection.title)
|
||||
|
||||
# Only show the Collections dropdown if the user has some
|
||||
# collections set up
|
||||
if users_collections.count() > 0:
|
||||
submit_form.collection.query = users_collections
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user