From: gfawcett Date: Tue, 21 Apr 2009 23:17:41 +0000 (+0000) Subject: fix big cannot-edit-item bug, caused by earlier reloc of all item-based templates. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3c34c903bdc0b25e773845fd874e8d2cfedea4e8;p=syrup%2Fmasslnc.git fix big cannot-edit-item bug, caused by earlier reloc of all item-based templates. git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@377 6d9bc8c9-1ec2-4278-b937-99fde70a366f --- diff --git a/conifer/syrup/views/items.py b/conifer/syrup/views/items.py index 77e1500..53d9162 100644 --- a/conifer/syrup/views/items.py +++ b/conifer/syrup/views/items.py @@ -203,7 +203,7 @@ def item_edit(request, course_id, item_id): course = get_object_or_404(models.Course, pk=course_id) item = get_object_or_404(models.Item, pk=item_id, course__id=course_id) item_type = item.item_type - template = 'item_add_%s.xhtml' % item_type.lower() + template = 'item/item_add_%s.xhtml' % item_type.lower() parent_item = item.parent_heading if request.method != 'POST':