{% extends "base.html" %} {% block title %} Non-core Contracts > {{contract.name}} {% endblock %} {% block nav %} Non-core Contracts > {{contract.name}} > Edit {% endblock %} {% block content %} {% if request.method == 'GET' and request.values.view == 'confirm_delete' %}
Are you sure you want to delete this contract?

Cancel

{% else %}
Update Contract


Properties
{{ input_textarea('properties', contract.properties, 20, 80) }}
{% if contract.name == 'bsuos' %}
{
    'enabled': True,
    'url': 'http://www2.nationalgrid.com/Current-SF-BSUoS-Data/'}
{% elif contract.name == 'tlms' %}
{
    'enabled': True,
    'url': 'https://downloads.elexonportal.co.uk/'}
{% endif %}


Update State
{{ input_textarea('state', contract.state, 40, 80) }}

Delete this contract
{% endif %} {% endblock %}