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:
Christopher Allan Webber 2016-01-07 11:07:38 -08:00
parent 43cf0a68f2
commit 9bc8c8709d

View File

@ -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: