summaryrefslogtreecommitdiff
path: root/ishtar/furnitures/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2011-06-09 00:48:32 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2011-06-09 00:48:32 +0200
commitbf24f043d32775bb1763f7cb18c1a6f0eb3750fa (patch)
tree9a3b941636eb8218114254f526abe867355d542c /ishtar/furnitures/forms.py
parentec40fab293f0ad98218769feef973054bb766928 (diff)
downloadIshtar-bf24f043d32775bb1763f7cb18c1a6f0eb3750fa.tar.bz2
Ishtar-bf24f043d32775bb1763f7cb18c1a6f0eb3750fa.zip
First work to modularize the application (forms corrections)
Diffstat (limited to 'ishtar/furnitures/forms.py')
-rw-r--r--ishtar/furnitures/forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar/furnitures/forms.py b/ishtar/furnitures/forms.py
index efbae4b2b..3835073dd 100644
--- a/ishtar/furnitures/forms.py
+++ b/ishtar/furnitures/forms.py
@@ -676,7 +676,7 @@ class DeletionWizard(Wizard):
def done(self, request, storage, form_list, **kwargs):
obj = self.get_current_object(request, storage)
obj.delete()
- return render_to_response('wizard_done.html', {},
+ return render_to_response('wizard_delete_done.html', {},
context_instance=RequestContext(request))
class ClosingWizard(Wizard):
@@ -726,6 +726,6 @@ class ClosingWizard(Wizard):
if 'end_date' in form.cleaned_data and hasattr(obj, 'end_date'):
obj.end_date = form.cleaned_data['end_date']
obj.save()
- return render_to_response('wizard_done.html', {},
+ return render_to_response('wizard_closing_done.html', {},
context_instance=RequestContext(request))