{% extends "base.html" %} {% load crispy_forms_tags %} {% block title %} {% if contact.manager == request.user %} Update {{contact}} {% else %} You don't have access to this page! {% endif %} {% endblock title %} {% block content %} {% if contact.manager == request.user %}