{% extends 'base.html' %} {% block title %}Create{% endblock %} {% block main %} {% if api == 'device' %} Create New Device Name Description Cancel {% elif api == 'test' %} Create New Test Device {% for device in devices %} {{ device.name }} {% endfor %} Name A short description name of the test class. Description A longer-format description of the test class. Cancel {% elif api == 'task' %} Create New Task Test {% for test in tests %} {{ test.name }} {% endfor %} Name 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 %}