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
1 changed files with 2 additions and 2 deletions

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()">