{% extends 'profiles/base.html' %} {% load bootstrap %} {% block breadcrumb_items %} {{ block.super }} Duplicates Merge Profiles {{ profile_to_merge.id }} and {{ profile_to_merge_into.id }} {% endblock %} {% load scipost_extras %} {% block pagetitle %}: Profile duplicates: merge{% endblock pagetitle %} {% block content %}

Merge Profiles {{ profile_to_merge.id }} and {{ profile_to_merge_into.id }}

{% if profile_to_merge.has_active_contributor and not profile_to_merge_into.has_active_contributor %}

Warning: the Profile to merge is associated to an active Contributor, while the one to merge into is not

Consider merging the other way around

{% endif %}

Profile {{ profile_to_merge.id }}

{% include 'profiles/_profile_card.html' with profile=profile_to_merge %}

Profile {{ profile_to_merge_into.id }}

{% include 'profiles/_profile_card.html' with profile=profile_to_merge_into %}

Merge:

{% csrf_token %} {{ merge_form|bootstrap }}  Merge the other way around

{% endblock content %}