devfund-website/templates/flatpages/default.html

21 lines
534 B
HTML

{% extends "blender_fund/layout.html" %}
{% block page_header %}{% endblock page_header %}
{% block page_title %}{{ flatpage.title }} — {% endblock %}
{% block content %}
<div class="container">
{% if request.user.is_staff %}
<div class="btn-row justify-content-end">
<a class="btn btn-admin" href="{% url 'admin:flatpages_flatpage_change' flatpage.id %}">
<i class="i-edit"></i>
<span>Edit Page</span>
</a>
</div>
{% endif %}
{{ flatpage.content }}
</div>
{% endblock %}