{% extends 'base.html' %} {% load static %} {% load widget_tweaks %} {% block title %} Courses {% endblock title %} {% block content %}
Add a new course
{% for course in courses %}
{{ course.title }}

{{ course.description }}

{% if course.created_by == request.user %} Update course {% endif %}
{% endfor %}
{% endblock content %}