From 04e28f10b10fba8ed239a0442c168b36ffeb4a76 Mon Sep 17 00:00:00 2001 From: kakwa Date: Tue, 30 Jun 2015 23:19:07 +0200 Subject: [PATCH] enable error message for not valid/empty fields --- resources/templates/form.tmpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/templates/form.tmpl b/resources/templates/form.tmpl index b947517..1d4891c 100644 --- a/resources/templates/form.tmpl +++ b/resources/templates/form.tmpl @@ -43,7 +43,7 @@ for a in sorted(attributes.keys(), key=lambda attr: attributes[attr]['weight']): % elif attr['type'] == 'string': % elif attr['type'] == 'email': - + % elif attr['type'] == 'int': % elif attr['type'] == 'fix': @@ -59,9 +59,10 @@ for a in sorted(attributes.keys(), key=lambda attr: attributes[attr]['weight']): % elif attr['type'] == 'password': Retype ${attr['display_name']} - + % endif +
% endfor