{% regroup job_members by job.name as all_jobmem_list %}

{% for jobmem in all_jobmem_list %}

    <div class="padding-top-1 padding-left-1 padding-right-1" style="background-color: white;">

        <h2>{{jobmem.grouper}}<a class="headerlink" id="{{jobmem.list.0.job.slug}}" href="#{{jobmem.list.0.job.slug}}" title="Permalink to {{jobmem.grouper}}"> #</a></h2>

        <div class="grid-x align-bottom">

            {% for jm in jobmem.list %}
                {% with member=jm.member %}
                {% include 'members/partials/_job_membership_grid.html' %}
                {% endwith %}
            {% endfor %}

        </div>
    </div>

{% endfor %}