Merge pull request #2125 from bookwyrm-social/edit-author

Fixes edit author paths
This commit is contained in:
Mouse Reeve 2022-05-23 12:26:07 -07:00 committed by GitHub
commit 212bd49e6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@
</div>
{% endif %}
<form class="block" name="edit-author" action="{{ author.local_path }}/edit" method="post">
<form class="block" name="edit-author" action="{% url 'edit-author' author.id %}" method="post">
{% csrf_token %}
<input type="hidden" name="last_edited_by" value="{{ request.user.id }}">