{% extends "arnold/base.html" %} {% load crispy_forms_tags %} {% block content %} {% include 'arnold/back.html' %}

Search

{% comment %} Display form for defining search parameters {% endcomment %}
{% crispy form %}
{% comment %} Display search results {% endcomment %} {% if form.is_bound and not form.errors %} {% for result in search_result %} {% endfor %}
Result
IP DNS MAC Netbios Status Reason Last changed  
{{ result.ip }} {{ result.dns }} {{ result.mac }} {{ result.netbios }} {{ result.status }} {{ result.justification }} {{ result.last_changed|date:"DATETIME_FORMAT" }} Details
{{ search_result|length }} result{{ search_result|pluralize:'s' }} found
{% endif %} {% endblock %}