{% load i18n wagtailadmin_tags %}
{% icon name="help" %}

{% trans "Fields available to link" %}

{% if bound_model.models %}

{% trans "Inputs can be linked to any editable field on the selected model." %}

{% for model in bound_model.models %}

{% trans "Fields on" %} {{ model.label }} {% if model.model_label %}({{ model.model_label }}){% endif %}:

{% if model.fields %} {% for field in model.fields %} {% endfor %}
{% trans "Field" %} {% trans "Label" %}
{{ field.name }} {{ field.label }}
{% else %}

{% trans "This model has no editable fields." %}

{% endif %}
{% endfor %} {% else %}

{% trans "No context models are configured." %}

{% endif %}