Last active
February 13, 2020 20:38
-
-
Save Porter97/51111118ca21e02a41993aeb855b8232 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "base.html" %} | |
{% import "bootstrap/wtf.html" as wtf %} | |
{% block title %}Offbrand - Edit Content{% endblock %} | |
{% block page_content %} | |
<div class="page-header"> | |
<h2 class="display-4">Edit Content</h2> | |
{% if content.collection.author == current_user or current_user.is_administrator() %} | |
<a id="delete-content" class="btn btn-danger" href="{{ url_for('.delete_content', id=content.id) }}">Delete Content</a> | |
{% endif %} | |
</div> | |
<hr> | |
<div class="content-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