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

Are you sure you want to delete this supply?

Cancel

{% else %}
Update this supply
{{input_text('name', g_supply.name)}}
{{input_text('mprn', g_supply.mprn)}}


Delete this supply

Insert a new era
{{input_date('start', None)}}

{% for g_era in g_eras %} {% endfor %}
Existing Eras
Start date Finish date
{{g_era.start_date|hh_format}} {{g_era.finish_date|hh_format}}
{% endif %} {% endblock %}