{% extends 'base.html' %} {% load static from staticfiles %} {% block content %}
{% if squad.id %}

Squad: {{ squad }}

{% else %}

New Squad

{% endif %}
{% csrf_token %} {{ form.non_field_errors }} {% if instructions %} {# No, we dont' have to close that

tag. This is HTML5 baby! #}

{{ instructions }} {% endif %} {{ form.as_table }}

{% if docstring %}

{{ docstring }}{% endif %} {# only show add host button if the squad is saved #} {% if squad.id %}

{# TODO: Use a dialog on this page for adding hosts instead of linking to admin #} Add Host
{% endif %}
{# Only show host list if it's not a new squad #} {% if squad.id %}

Hosts

{% endif %}
{# endrow #} {% endblock content %} {% block script %} {# the box for each host #} {# the inner grid of proc data for each host #} {# the Add Host dialog #} {% endblock script %}