{% extends 'base.html' %} {% block title %}Update{% endblock %} {% block main %} {% if api == 'device' %} Update Existing Device Name Description {{ row.description }} Cancel {% elif api == 'test' %} Update Existing Test Device ID {% for device in devices %} {{ device.name }} {% endfor %} Name Description {{ row.description }} Cancel {% elif api == 'task' %} Update Existing Task Test ID {% for test in tests %} {{ test.name }} {% endfor %} Name Command {{ row.command }} Must return a value for `measured`. Reference Typically a limit value. Unit Operator {% for operator in operators %} {{ operator.title }} {% endfor %} Data Type {% for datatype in datatypes %} {{ datatype.title }} {% endfor %} Cancel {% endif %} {% endblock %}