Skip to content

Commit

Permalink
fix template
Browse files Browse the repository at this point in the history
  • Loading branch information
chee committed Nov 17, 2020
1 parent 52a44a8 commit 266e3f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/collection.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block nav %}
{% if current_user.is_authenticated and current_user.id == copyright_holder.id %}
<a href="{{url_for('new_piece', username=current_user.username, slug=collection.slug)}}">
<a href="{{url_for('new_piece', username=current_user.username, collection_slug=collection.slug)}}">
new piece
</a>
{% endif %}
Expand Down

0 comments on commit 266e3f6

Please sign in to comment.