From 33958d067082e38f6db079c75638dde034c64c61 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Mon, 10 Aug 2015 18:04:42 +0300 Subject: [PATCH] Added array empty condition to print --- rigForms/templates/rigForms/print/render-array.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rigForms/templates/rigForms/print/render-array.xml b/rigForms/templates/rigForms/print/render-array.xml index 611594f4..fb19c539 100644 --- a/rigForms/templates/rigForms/print/render-array.xml +++ b/rigForms/templates/rigForms/print/render-array.xml @@ -9,6 +9,13 @@ {% for child in children %} {{ child }} +{% empty %} + + + + (No items recorded) + + {% endfor %} {% endautoescape %} \ No newline at end of file