{% extends "layouts/base.html" %} {% load widget_tweaks %} {% load staticfiles %} {% block title %}Incident Attachment{% endblock %} {% block head %} {{ form.media }} {% endblock %} {% block header %}{% include 'header.html' %}{% endblock %} {% block sidebar %}{% include 'sidebar.html' %}{% endblock %} {% block content %} Incident Attachment {% if edit %}Edit{% else %}Add new{% endif %} Incident Attachment Details {{ form.format.label }} {{ form.format|add_class:"form-control" }} {{ form.format.errors }} {{ form.file.label }} {{ form.file|add_class:"form-control" }} {{ form.file.errors }} Actions {% csrf_token %} Save {% endblock %} {% block script %} {% endblock %}