{% extends "base.html" %} {% block title %}Edit {{object.title|default:"Location"}}{% endblock %} {% block content %} Edit Location {% csrf_token %} {% for field in form %} {{ field.label }} {{ field }} {% if field.errors %} {{ field.errors.0 }} {% endif %} {% endfor %} Save Cancel {% endblock %}