{% if scope and scope != "component" and addon.needs_component %}
{% trans "The add-on can only be installed on the component." %}
{% elif addon.repo_scope %}
{% trans "repository wide" %}
{% endif %}
{% icon addon.icon %}
{{ addon.verbose }}
{% documentation_icon "admin/addons" addon.doc_anchor %}
{{ addon.description }}
{% if addon.instance %}
{% with form=addon.get_ui_form %}
{% if form %}
{% for field in form %}
{% if not field.is_hidden and field.value %}
{{ field.label }} {{ field|choiceval }}
{% endif %}
{% endfor %}