{% from "tip.html" import tip %}

{{ index_preamble }} {{ tip("index", title, index_tip) }}

{{ index_which_label }} {#- What needs indexing is marked, and when one collection alone does, it is the one chosen: the bar's own Index button does the same. -#} {%- set waiting = {} %}{% for row in pane_now(request).collections %}{% if row.waiting %}{% set _ = waiting.update({row.collection: row.waiting}) %}{% endif %}{% endfor %} {%- set only = (waiting | list | first) if (waiting | length) == 1 and not chosen else "" %} {%- set chosen = chosen or only %} {%- for name in collections %}{% endfor %}
{# Every dialog's foot, as Add's is: Cancel, then the one action the form exists for, at the right. #}
{{ cancel_label }}