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