[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-merchant-demos] 03/04: using button instead of type submit
From: |
gnunet |
Subject: |
[taler-taler-merchant-demos] 03/04: using button instead of type submit |
Date: |
Wed, 19 Oct 2022 04:48:30 +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.
commit aae59e26eacf5316e54eb8895448df6b6e59567d
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Tue Oct 18 23:48:01 2022 -0300
using button instead of type submit
---
talermerchantdemos/templates/blog-confirm-refund.html.j2 | 2 +-
talermerchantdemos/templates/survey-index.html.j2 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/talermerchantdemos/templates/blog-confirm-refund.html.j2
b/talermerchantdemos/templates/blog-confirm-refund.html.j2
index ab5dfcd..ff8624e 100644
--- a/talermerchantdemos/templates/blog-confirm-refund.html.j2
+++ b/talermerchantdemos/templates/blog-confirm-refund.html.j2
@@ -18,6 +18,6 @@
<form action="{{ url_for('refund', order_id=order_id) }}" method="POST">
<input type="text" name="article_name" value={{ article_name}} hidden>
- <input type="submit" value="{{ gettext('Request refund') }}">
+ <button value="{{ gettext('Request refund') }}" name="submit"/>
</form>
{% endblock main %}
diff --git a/talermerchantdemos/templates/survey-index.html.j2
b/talermerchantdemos/templates/survey-index.html.j2
index 0d0f87a..334cbc6 100644
--- a/talermerchantdemos/templates/survey-index.html.j2
+++ b/talermerchantdemos/templates/survey-index.html.j2
@@ -20,7 +20,7 @@
Visa
</label>
</fieldset>
- <input type="submit" value="{{ gettext("Submit Survey")}}"
class="pure-button pure-button-primary" />
+ <button name="submit" value="{{ gettext("Submit Survey")}}"
class="pure-button pure-button-primary" />
</form>
</div>
{% endblock %}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.