{% extends "django_cradmin/base.django.html" %}
{% load i18n %}

{% block title %}
    {{ pagetitle }}
{% endblock title %}

{% block page-cover-title %}
    {{ pagetitle }}
{% endblock page-cover-title %}

{% block content %}
    <div class="adminui-page-section  adminui-page-section--center  adminui-page-section--focus">
        <div class="container">
            {% block deletequestion %}
                <div id="id_deleteview_question">
                    <p>{{ confirm_message }}</p>
                </div>
            {% endblock deletequestion %}
            {% block delete-form %}
                <form action="{{ request.build_absolute_uri }}" method="post" class="django-cradmin-form">
                    {% csrf_token %}
                    <button type="submit" class="button  button--primary">{{ delete_button_label }}</button>
                    <button type="button" class="button" onclick="history.back();return false;">{% trans "Cancel" %}</button>
                </form>
            {% endblock delete-form%}
        </div>
    </div>
{% endblock content %}

{% extends "django_cradmin/base.django.html" %}
{% load i18n %}
{% load cradmin_tags %}

{% block title %}
    {{ pagetitle }}
{% endblock title %}

{% block page-cover-title %}
    {{ pagetitle }}
{% endblock page-cover-title %}

{% block content %}
    <div class="adminui-page-section  adminui-page-section--center  adminui-page-section--focus">
        <div class="container">
            {% block deletequestion %}
                <p class="{% cradmin_test_css_class 'confirm-message' %}">
                    {{ confirm_message }}
                </p>
            {% endblock deletequestion %}
            {% block delete-form %}
                <form action="{{ request.build_absolute_uri }}" method="post" class="django-cradmin-form">
                    {% csrf_token %}
                    <button type="submit" class="button  button--primary">{{ delete_button_label }}</button>
                    <button type="button" class="button" onclick="history.back();return false;">{% trans "Cancel" %}</button>
                </form>
            {% endblock delete-form%}
        </div>
    </div>
{% endblock content %}

Remove the redundant div around the confirm message, and change from an ID to a test css class.
viewhelpers.formview.deleteview: Remove the redundant div around the confirm message, and change from an ID to a test css class.

This may affect some tests. In this case, simply change the css selector from #id_deleteview_question to .test-confirm-message.
