{% extends 'generic/_base.html' %} {% load helpers %} {% load i18n %} {% block title %}Run {{ object.name }}{% endblock %} {% block subtitle %}
Workflow {{ object.name }}
{% endblock %} {% block control-buttons %}{% endblock %} {% block content %} {% if engine_settings.engine_status == "maintenance" %} {% elif engine_settings.engine_status == "disabled" %} {% endif %}
{% csrf_token %}

{% trans "Inputs" %}

{% if workflow_spec.description %}

{{ workflow_spec.description }}

{% endif %} {% if form.fields %} {% for field in form %}
{% if field.field.widget.input_type == "checkbox" %}
{{ field }}
{% else %} {{ field }} {% endif %} {% if field.help_text %}
{{ field.help_text }}
{% endif %} {% if field.errors %}
{{ field.errors|join:", " }}
{% endif %}
{% endfor %} {% else %}

{% trans "This workflow takes no inputs." %}

{% endif %}

{% trans "Steps" %}

    {% for s in workflow_spec.build_steps %}
  1. {{ s.name }}
    {{ s.key }}
    {% if s.retries %} {{ s.retries }} retries {% endif %}
  2. {% endfor %}
{% trans "Cancel" %}
{% endblock content %} {% block javascript %} {{ block.super }} {% endblock javascript %}