Implemented purchase

This commit is contained in:
2020-11-29 00:00:01 +01:00
parent 8a3ac21d61
commit d28cc70519
3 changed files with 30 additions and 4 deletions

View File

@@ -15,7 +15,8 @@
<a href="{{ url_for('ContentView:caff', id_=item.id) }}" class="btn btn-lg btn-success"
target="_self">Download</a>
{% else %}
<a href="#" class="btn btn-lg btn-primary" target="_blank">Purchase</a>
<a href="{{ url_for("PurchaseView:get", id_=item.id) }}" class="btn btn-lg btn-primary"
target="_self">Purchase</a>
{% endif %}
</div>
</div>