<% if ( pager.totalPages > 1 ) {    %>
    <div class="row" style="margin-top: 32px">
        <div class="col">
            <div class="form-group">
                <select class="form-control"
                        data-id="pager"
                        name="select-pager-pagenum">
                    <% for ( let pi = 1; pi <= pager.totalPages; pi++ ) {    %>
                        <option value="<%= pi %>"
                                <%= pi == pager.currentPage ? 'selected="selected"' : '' %>>
                            Seite <%= pi %>
                        </option>
                    <% }    %>
                </select>
            </div>
        </div>
    </div>
<% }    %>