Handle various link generation needs

This commit is contained in:
Mouse Reeve
2021-12-05 13:38:15 -08:00
parent 4085714764
commit 071da7d4fb
3 changed files with 13 additions and 4 deletions

View File

@ -92,7 +92,7 @@
{% trans "View on Inventaire" %}
</a>
{% if request.user.is_authenticated and perms.bookwyrm.edit_book %}
<form name="ol-update" method="POST" action="{% url 'author-update-remote' author.id 'inventaire' %}">
<form name="ol-update" method="POST" action="{% url 'author-update-remote' author.id 'inventaire.io' %}">
{% csrf_token %}
<button class="button is-small" type="submit">{% trans "Update from Inventaire" %}</button>
</form>