oauth2: use <button> (#22921)
This commit is contained in:
parent
ca0b908387
commit
eec8578f8b
|
@ -5,7 +5,7 @@
|
|||
<form method="post" enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<input type="submit" name="submit" value="{% trans "Choose" %}">
|
||||
<input type="submit" name="cancel" value="{% trans "Cancel" %}">
|
||||
<button name="submit">{% trans "Choose" %}</button>
|
||||
<button name="cancel">{% trans "Cancel" %}</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
{% endblocktrans %}</p>
|
||||
<form id="send-file" method="post" enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
<input type="submit" name="submit" value="{% trans "Allow" %}"/>
|
||||
<input type="submit" name="cancel" value="{% trans "Cancel" %}"/>
|
||||
<button name="submit">{% trans "Allow" %}</button>
|
||||
<button name="cancel">{% trans "Cancel" %}</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue