summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2011-07-11 14:02:59 +0200
committermguetlein <martin.guetlein@gmail.com>2011-07-11 14:02:59 +0200
commit2e79dc191027651acdda0e63c32da78a9c33148b (patch)
tree9d7fef2877fa8111597e211670930f15d207fd32 /views
parenta6bc5cd38c6880653fc4f30d1418ca8f664c9379 (diff)
modify error handling in toxcreate model creation
Diffstat (limited to 'views')
-rw-r--r--views/model.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/views/model.haml b/views/model.haml
index c64d81e..d54150d 100644
--- a/views/model.haml
+++ b/views/model.haml
@@ -43,6 +43,11 @@
- if model.error_messages
%dt Errors:
%dd= model.error_messages
+ - if CONFIG[:logger]=="debug"
+ %dt Task:
+ %dd
+ %a{:href => "#{model.task_uri}", :rel => "external"}
+ = model.task_uri
- if model.warnings
%dt Warnings:
%a{:href => "#", :id => "show_model_#{model.id}_warnings"} show