From 56e833aed04e88858b88e9c90529b96f05f530a1 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Fri, 14 Aug 2015 18:49:43 +0300 Subject: [PATCH] Improvements to form printing --- rigForms/templates/rigForms/print/render-object.xml | 3 ++- rigForms/templates/rigForms/print/render-string.xml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/rigForms/templates/rigForms/print/render-object.xml b/rigForms/templates/rigForms/print/render-object.xml index 162402e6..c4fb9302 100644 --- a/rigForms/templates/rigForms/print/render-object.xml +++ b/rigForms/templates/rigForms/print/render-object.xml @@ -1,7 +1,8 @@ -

{{field.title}}

+

{{field.title}}

+ {{field.description}}
diff --git a/rigForms/templates/rigForms/print/render-string.xml b/rigForms/templates/rigForms/print/render-string.xml index 2055eb45..1cdd41aa 100644 --- a/rigForms/templates/rigForms/print/render-string.xml +++ b/rigForms/templates/rigForms/print/render-string.xml @@ -1,4 +1,4 @@ - + @@ -6,6 +6,6 @@ {{field.description}} - {{value|default_if_none:""}} + {{value|default_if_none:""|linebreaksbr}} \ No newline at end of file