1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2024-11-27 10:53:10 +00:00

For an unknown reason, button inputs are not sent as POST parameters

This commit is contained in:
Yohann D'ANELLO 2021-04-29 13:51:15 +02:00
parent e7dfaf8b8b
commit 1a96b1a2aa
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85

View File

@ -1,4 +1,4 @@
{% load i18n %}
{% include "django/forms/widgets/input.html" %}
<input type="button" value="{% trans "Fetch data and add another" %}" name="_isbn_addanother" onclick="form.submit()">
<input type="button" value="{% trans "Fetch only" %}" name="_isbn" onclick="form.submit()">
<input type="submit" value="{% trans "Fetch data and add another" %}" name="_isbn_addanother" onclick="form.submit()">
<input type="submit" value="{% trans "Fetch only" %}" name="_isbn" onclick="form.submit()">