{% extends "alloc/base.html" %} {% block title %}{% if scenario %}Edit {{ scenario.name }}{% else %}New scenario{% endif %}{% endblock %} {% block content %}

{% if scenario %}Edit scenario{% else %}New scenario{% endif %}

{% csrf_token %} {{ form.as_table }}

Changes

Scale an activity's volume or a department's cost by a percentage, or drop a customer or product entirely. Fill only the field that matches the kind.

{{ formset.management_form }}{{ formset.non_form_errors }}
{% for f in formset.forms.0 %}{% if not f.is_hidden %}{% endif %}{% endfor %} {% for f in formset %}{% for fld in f %}{% if fld.is_hidden %}{{ fld }}{% else %}{% endif %}{% endfor %}{% endfor %}
{{ f.label }}
{{ fld }}{{ fld.errors }}

{% if scenario %}
{% csrf_token %}
{% endif %} {% endblock %}