{% import "components.html" as c with context %} {% import "agent_form.html" as f with context %} {# a new agent on this computer, in steps over the page, the way the page asks for anything: the agent, its channels, its runtimes, then what it will be read back. kept up with what was typed when the computer says no, opened on the last step with why; gone once it says yes #} {% if created is defined and created %} {% else %} {% set channels = values.get("channel", []) %} {% set runtimes = values.get("runtime", []) %}

{{ t.text("agents.new_title") }}

    {% for step in ("basic", "channels", "runtimes", "confirm") %}
  1. {% endfor %}

{{ t.text("agents.hint.basic") }}

{{ f.basic(values) }}{{ f.reply(reply) }}
{{ f.script() }}
{% endif %}