{% extends "base.html" %} {% block sidebar %} {% if perms.auth.is_admin %} {% include "admin/components/sidebar.html" %} {% elif perms.auth.is_alumnus %} {% include "alumni/components/sidebar.html" %} {% elif perms.auth.is_student %} {% include "student/components/sidebar.html" %} {% endif %} {% endblock %} {% block content %}

Create Post

{% csrf_token %}
{{ form.title }}
{{ form.content }}
{% endblock %}