{% extends 'base.html' %} {% load static %} {% block title %}Edit Activity{% endblock %} {% block content %} {{ form.non_field_errors }} {% for field in form %} {% if field.errors %}

{{ field.label }} has the following errors:

{% endif %} {% endfor %} Edit activity:
{% csrf_token %} {{ form.as_p }}
{% endblock %}