{% extends "base.html" %} {% block title %} » Supplies » {{supply.id}} » Edit {% endblock %} {% block nav %} Supplies » {{supply.id}} » Edit {% endblock %} {% block content %} {% if request.method == 'GET' and request.values.delete %}

Are you sure you want to delete this supply?

{% else %}
Update this supply
{{input_text('name', supply.name)}}
Delete this supply
Insert a new era {{input_date('start', None)}}

Existing Eras

{% for era in eras %} {% endfor %}
Start date Finish date Import Mpan Core Export Mpan Core
{{era.start_date|hh_format}} {{era.finish_date|hh_format}} {% if era.imp_mpan_core %} {{era.imp_mpan_core}} {% endif %} {% if era.exp_mpan_core %} {{era.exp_mpan_core}} {% endif %}
{% endif %} {% endblock %}