From c7939ec45cc7f68a268c8f11504c9ae13247e1fa Mon Sep 17 00:00:00 2001 From: shivam kohli Date: Tue, 7 Aug 2018 20:13:27 +0530 Subject: added error messages in signup --- templates/inventory/signup.html | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/templates/inventory/signup.html b/templates/inventory/signup.html index 6dd4fda..9d030eb 100644 --- a/templates/inventory/signup.html +++ b/templates/inventory/signup.html @@ -36,13 +36,22 @@ with the Taler Codeless Merchant. If not, see . {% for field in form %} {% if field.label == 'Directly enter the Plain PaytoURI' %}

- {{ field }} + {% for error in field.errors %} +

{{ error }}

+ {% endfor %} + {{ field }} {% elif field.label == 'Payment Address type' %}

- {{ field }} + {% for error in field.errors %} +

{{ error }}

+ {% endfor %} + {{ field }} {% else %} - {{ field }} + {% for error in field.errors %} +

{{ error }}

+ {% endfor %} + {{ field }} {% endif %} {% endfor %} -- cgit v1.2.3