[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-codeless] branch master updated: added error message
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-codeless] branch master updated: added error messages in signup |
Date: |
Tue, 07 Aug 2018 16:43:35 +0200 |
This is an automated email from the git hooks/post-receive script.
shivam-kohli pushed a commit to branch master
in repository codeless.
The following commit(s) were added to refs/heads/master by this push:
new c7939ec added error messages in signup
c7939ec is described below
commit c7939ec45cc7f68a268c8f11504c9ae13247e1fa
Author: shivam kohli <address@hidden>
AuthorDate: Tue Aug 7 20:13:27 2018 +0530
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
<https://www.gnu.org/licenses/>.
{% for field in form %}
{% if field.label == 'Directly enter the Plain PaytoURI' %}
<br><br><label class="tooltip">{{ field.label }}<font
size="1"><span class="tooltiptext">This field is not necessary, if you have
choosen the address type.</span></font></label>
- {{ field }}
+ {% for error in field.errors %}
+ <p style="color: red">{{ error }}</p>
+ {% endfor %}
+ {{ field }}
{% elif field.label == 'Payment Address type' %}
<br><br><label class="tooltip">{{ field.label }}<font
size="1"><span class="tooltiptext">Choose the type of payment method from the
list.</span></font></label>
- {{ field }}
+ {% for error in field.errors %}
+ <p style="color: red">{{ error }}</p>
+ {% endfor %}
+ {{ field }}
{% else %}
<label class="mylabel">{{ field.label }}</label>
- {{ field }}
+ {% for error in field.errors %}
+ <p style="color: red">{{ error }}</p>
+ {% endfor %}
+ {{ field }}
{% endif %}
{% endfor %}
<button name="add_product" type="submit" class="submit">Sign
up</button>
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-codeless] branch master updated: added error messages in signup,
gnunet <=