{% extends "_base.html" %} {% load static %} {% load filters %} {% block styles %} {{ block.super }} {% endblock styles %} {% block page_title %}'visits'{% endblock page_title %} {% block page_header %}New visit{% endblock page_header %} {% block page_description %}{% endblock page_description %} {% block title %}{{ block.super }} - Add new visit{% endblock %} {% block breadcrumb %} {% include "visits/breadcrumb.html" %} {% endblock breadcrumb %} {% block maincontent %} {% block content %}
Cancel
{% comment %}

Details of a visit

{% endcomment %}
{% csrf_token %}
{% for field in form %}
{{ field|add_class:'form-control' }}
{% if field.errors %} {{ field.errors }} {% endif %}
{% endfor %}
{% endblock %} {% endblock maincontent %} {% block scripts %} {{ block.super }} {% endblock scripts %}