From 43fa41aace8861536dbf9e3ab110eb61060c8e9d Mon Sep 17 00:00:00 2001 From: Joachim Lusiardi Date: Tue, 1 Nov 2016 11:16:13 +0100 Subject: [PATCH] Add input type TextAreaField adds a possibility to add longer texts in the style of rollerverbrauch --- app/templates/layout.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/templates/layout.html b/app/templates/layout.html index 91314bf..c511fd7 100644 --- a/app/templates/layout.html +++ b/app/templates/layout.html @@ -56,6 +56,8 @@ {% elif field.type == 'DecimalField' %} + {% elif field.type == 'TextAreaField' %} + {% else %} {{ field(**kwargs)|safe }} {% endif %}