[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-merchant-demos] branch master updated: fixing html validati
From: |
gnunet |
Subject: |
[taler-taler-merchant-demos] branch master updated: fixing html validation errors: |
Date: |
Wed, 19 Oct 2022 05:48:03 +0200 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository taler-merchant-demos.
The following commit(s) were added to refs/heads/master by this push:
new 6b4665e fixing html validation errors:
6b4665e is described below
commit 6b4665ed9e736a4fa933ae3e8ecb05272d5e890a
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Wed Oct 19 00:47:54 2022 -0300
fixing html validation errors:
Element legend not allowed as child of element form in this context
Self-closing syntax (/>) used on a non-void HTML element
---
talermerchantdemos/templates/blog-confirm-refund.html.j2 | 4 +++-
talermerchantdemos/templates/common-base.html.j2 | 2 +-
talermerchantdemos/templates/donations-index.html.j2 | 4 +++-
talermerchantdemos/templates/survey-index.html.j2 | 6 ++++--
4 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/talermerchantdemos/templates/blog-confirm-refund.html.j2
b/talermerchantdemos/templates/blog-confirm-refund.html.j2
index ff8624e..050c51e 100644
--- a/talermerchantdemos/templates/blog-confirm-refund.html.j2
+++ b/talermerchantdemos/templates/blog-confirm-refund.html.j2
@@ -18,6 +18,8 @@
<form action="{{ url_for('refund', order_id=order_id) }}" method="POST">
<input type="text" name="article_name" value={{ article_name}} hidden>
- <button value="{{ gettext('Request refund') }}" name="submit"/>
+ <button name="submit">
+ {{ gettext('Request refund') }}
+ </button>
</form>
{% endblock main %}
diff --git a/talermerchantdemos/templates/common-base.html.j2
b/talermerchantdemos/templates/common-base.html.j2
index 84c3f21..55ebd18 100644
--- a/talermerchantdemos/templates/common-base.html.j2
+++ b/talermerchantdemos/templates/common-base.html.j2
@@ -79,7 +79,7 @@
{# Language Selector #}
<div class="right">
- <button onkeydown="handleLang(event)" onclick="handleLang(event)"
name="language" value="{{ all_languages[getlang()] | default("en") }}">
+ <button onkeydown="handleLang(event)" onclick="handleLang(event)"
name="language">
{{ all_languages[getlang()] | default("en") }}
</button>
<div id="lang" class="hide">
diff --git a/talermerchantdemos/templates/donations-index.html.j2
b/talermerchantdemos/templates/donations-index.html.j2
index 17a530e..ad67c77 100644
--- a/talermerchantdemos/templates/donations-index.html.j2
+++ b/talermerchantdemos/templates/donations-index.html.j2
@@ -49,7 +49,9 @@
</label>
</div>
- <button class="pure-button pure-button-primary" name="submit"
value="{{gettext("Donate!")}}" />
+ <button class="pure-button pure-button-primary" name="submit">
+ {{gettext("Donate!")}}
+ </button>
</div>
</form>
<p class="graybox">
diff --git a/talermerchantdemos/templates/survey-index.html.j2
b/talermerchantdemos/templates/survey-index.html.j2
index 334cbc6..4a804fb 100644
--- a/talermerchantdemos/templates/survey-index.html.j2
+++ b/talermerchantdemos/templates/survey-index.html.j2
@@ -9,8 +9,8 @@
</div>
<div>
<form action="{{ script_name + "/" + getlang() + "/submit-survey" }}"
method="post" class="pure-form pure-form-stacked">
- <legend>{{ gettext("Which payment system do you prefer?") }}</legend>
<fieldset>
+ <legend>{{ gettext("Which payment system do you prefer?") }}</legend>
<label for="option-taler">
<input id="option-taler" type="radio" name="paypref" value="taler"
checked="checked" />
Taler
@@ -20,7 +20,9 @@
Visa
</label>
</fieldset>
- <button name="submit" value="{{ gettext("Submit Survey")}}"
class="pure-button pure-button-primary" />
+ <button name="submit" class="pure-button pure-button-primary" >
+ {{ gettext("Submit Survey")}}
+ </button>
</form>
</div>
{% endblock %}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-taler-merchant-demos] branch master updated: fixing html validation errors:,
gnunet <=