{% extends 'base.html' %} {% block title %} Command-Response {% endblock %} {% block content %}
{{ form.hidden_tag() }}
{% for field in form %} {% if field.name != 'subtype' and field.name != 'numEntries' and field.name != 'csrf_token' and field.type != 'HiddenField' %}
{% if field.id == 'type' %} {{ field( onchange="setTimeout(function() { document.getElementById('type').selectedIndex = 0; }, 1000);", onfocus="document.getElementById('typeInfo').style.display='block'", onblur="document.getElementById('typeInfo').style.display='none'") }} {% else %} {{ field }} {% endif %} {% if field.errors %} {{ ', '.join(field.errors) }} {% endif %}
{% endif %} {% endfor %}
{{ form.numEntries(onfocus="document.getElementById('numEntriesInfo').style.display='block'", onblur="document.getElementById('numEntriesInfo').style.display='none'") }} {% if form.numEntries.errors %} {{ ', '.join(form.numEntries.errors) }} {% endif %}
{{ form.subtype(class="form-select form-select-sm") }} {% if form.subtype.errors %} {{ ', '.join(form.subtype.errors) }} {% endif %}

Command Message

Command Response

{% endblock %}