0001-oauth2-use-button-22921.patch
fargo/templates/fargo/oauth2/authorize.html | ||
---|---|---|
5 | 5 |
<form method="post" enctype="multipart/form-data"> |
6 | 6 |
{% csrf_token %} |
7 | 7 |
{{ form.as_p }} |
8 |
<input type="submit" name="submit" value="{% trans "Choose" %}">
|
|
9 |
<input type="submit" name="cancel" value="{% trans "Cancel" %}">
|
|
8 |
<button name="submit">{% trans "Choose" %}</button>
|
|
9 |
<button name="cancel">{% trans "Cancel" %}</button>
|
|
10 | 10 |
</form> |
11 | 11 |
{% endblock %} |
fargo/templates/fargo/oauth2/confirm.html | ||
---|---|---|
12 | 12 |
{% endblocktrans %}</p> |
13 | 13 |
<form id="send-file" method="post" enctype="multipart/form-data"> |
14 | 14 |
{% csrf_token %} |
15 |
<input type="submit" name="submit" value="{% trans "Allow" %}"/>
|
|
16 |
<input type="submit" name="cancel" value="{% trans "Cancel" %}"/>
|
|
15 |
<button name="submit">{% trans "Allow" %}</button>
|
|
16 |
<button name="cancel">{% trans "Cancel" %}</button>
|
|
17 | 17 |
</form> |
18 | 18 |
{% endif %} |
19 | 19 |
</div> |
20 |
- |