{% extends 'arnold/base.html' %} {% load info %} {% block content %} {% if error %}
{{ error }}
{% endif %}
{{ form.target.label }} {{ form.target }}  
Choose interface {% comment %} Manually print form for choosing interface to detain {% endcomment %} {% for choice in form.camtuple.field.choices %} {% with camtuples|lookup:choice.0 as camtuple %} {% endwith %} {% endfor %}
Switch Ifname Target last seen  
{{ camtuple.interface.netbox.sysname }} {{ camtuple.interface.ifname }} {% if camtuple.endtime >= now %} Still active {% else %} {{ camtuple.endtime|date:'DATETIME_FORMAT' }} {% endif %}
{{ form.camtuple.errors.0 }}
{{ form.method.label }} {{ form.method }} {{ form.method.errors.0 }}
{{ form.justification.label }} {{ form.justification }} {{ form.justification.errors.0 }}
{{ form.qvlan.label }} {{ form.qvlan }} {{ form.qvlan.errors.0 }}
{{ form.comment.label }} {{ form.comment }} {{ form.comment.errors.0 }}
{{ form.days.label }} {{ form.days }} days {{ form.days.errors.0 }}
 
{% endblock %}