{% load static %} {% load django_popup_view_field_tags %} {% django_popup_view_field_bootstrap_version as bootstrap_version %} {% if bootstrap_version == 'bootstrap3' %} {% include 'django_popup_view_field/popup_view_dialog_bootstrap3.html' %} {% elif bootstrap_version == 'bootstrap4' %} {% include 'django_popup_view_field/popup_view_dialog_bootstrap4.html' %} {% endif %}