mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2025-06-30 09:11:11 +02:00
Add button to generate a side identifier
This commit is contained in:
3
media/templates/media/generate_side_identifier.html
Normal file
3
media/templates/media/generate_side_identifier.html
Normal file
@ -0,0 +1,3 @@
|
||||
{% load i18n %}
|
||||
{% include "django/forms/widgets/input.html" %}
|
||||
<a href="#" class="button" onclick="document.getElementById('{{ widget.attrs.id }}').value = document.getElementById('{{ widget.attrs.id }}').getAttribute('data-generated-side-identifier')">{% trans "Generate side identifier" %}</a>
|
@ -1,4 +1,4 @@
|
||||
{% load i18n %}
|
||||
{% include "django/forms/widgets/input.html" %}
|
||||
<input type="submit" value="{% trans "Fetch data and add another" %}" name="_isbn_addanother">
|
||||
<input type="submit" value="{% trans "Fetch only" %}" name="_isbn">
|
||||
<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()">
|
Reference in New Issue
Block a user