{% load crispy_forms_tags i18n %}
{% for node in editor.triggers %}
{% if node.form %}
{% crispy node.form %}
{% endif %}
{% endfor %}
{% for node in editor.conditions %}
{% if node.form %}
{% crispy node.form %}
{% endif %}
{% for slot in node.slots %}
{% include "addons/automation_slot.html" with slot=slot %}
{% endfor %}
{% endfor %}
{% for node in editor.actions %}
{% if node.chrome %}
{% crispy node.chrome %}
{% endif %}
{% if node.form %}
{% crispy node.form %}
{% endif %}
{% for slot in node.slots %}
{% include "addons/automation_slot.html" with slot=slot %}
{% endfor %}
{% endfor %}
{% with node=editor.branch %}
{% for slot in node.slots %}
{% include "addons/automation_slot.html" with slot=slot %}
{% endfor %}
{% endwith %}