Use reverse lookups for urls
This commit is contained in:
parent
33ec315fbf
commit
748810cd41
18 changed files with 42 additions and 35 deletions
|
@ -239,7 +239,7 @@
|
|||
{% if not confirm_mode %}
|
||||
<div class="block">
|
||||
<button class="button is-primary" type="submit">{% trans "Save" %}</button>
|
||||
<a class="button" href="/book/{{ book.id }}">{% trans "Cancel" %}</a>
|
||||
<a class="button" href="{{ book.local_path}}">{% trans "Cancel" %}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
</form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue