{% load i18n core_extras %}

<div class="bg-white rounded-lg p-6">
    <div class="w-full">
        <div class="flex flex-row h-full">
            <div class="text-black font-bold mt-45">
                <p class="-rotate-90">{% trans "impact" %}</p>
            </div>
            <table class="w-3/4 mt-10 ml-13">
                {% for row in risk_matrix.render_grid_as_colors %}
                    {% with row_index=forloop.revcounter0 %}
                        <tr>
                            <td class="