Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% block title %}Offbrand - Edit Collection{% endblock %}
{% block page_content %}
<div class="page-header">
<h2 class="display-4">Edit Collection</h2>
{% if collection.author == current_user or current_user.is_administrator() %}
<a id="delete-collection" class="btn btn-danger" href="{{ url_for('.delete_collection', id=collection.id) }}">Delete Collection</a>
{% endif %}
</div>
<hr>
<div class="collection-form">
{{ wtf.quick_form(form) }}
</div>
{% endblock %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.