{% extends "base.html" %} {% block title %} » HHDC Contracts » {{hhdc_contract.name}} {% endblock %} {% block nav %} » HHDC Contracts » {{hhdc_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?

{% else %}

Update Contract

{{input_text('name', hhdc_contract.name)}}
Charge script
{{input_textarea( 'charge_script', hhdc_contract.charge_script, 40, 80)}}

Properties
{{ input_textarea( 'properties', hhdc_contract.properties, 40, 80) }}

Example

				{
					'enabled': True,
					'protocol': 'sftp',
					'file_type': '.df2',
					'hostname': 'example.com',
					'username': 'username',
					'password': 'password',
					'directories': ['downloads1', 'downloads2']}
									

Update State


{{input_textarea('state', hhdc_contract.state, 40, 80)}}

Delete This Contract

Ignore all snags before

{{ input_date('ignore', initial_date) }}
{% endif %} {% endblock %}