{% load i18n %} {% if perms.forward_netbox.merge_forwardingestion %} {% if object.can_queue_merge %}  {% trans "Merge" %} {% else %} {% endif %} {% endif %} {% if perms.forward_netbox.merge_forwardingestion and object.can_accept_merge_failures %} {# A failed row returns the branch to READY without attesting, so the baseline never promotes and every retry hits the same rows. When the failure is deterministic that is a dead end, and this is the way out. Separate button, separate confirmation: it must never be reachable by clicking Merge twice. #}
{% csrf_token %}
{% endif %}