{% extends "base.html" %} {% block title %} Gas Contracts » {{g_contract.name}} {% endblock %} {% block nav %} Gas Industry Contracts » {{g_contract.name}} » Edit {% endblock %} {% block content %} {% if request.method == 'GET' and request.values.delete %}
Are you sure you want to delete this contract?

Cancel

{% else %}
Update Contract {{input_text('name', g_contract.name)}} {{input_textarea( 'charge_script', g_contract.charge_script, 40, 80)}} {{input_textarea('properties', g_contract.properties, 20, 80)}}
Delete this contract
{% endif %} {% endblock %}