HubDB Selection Field

This is the section of code for the resource listing part of the module, your addition is in bold.

<div class=“resource-body”>
{% set table = hubdb_table_rows(3411941, queryparam) %}
<div class=“rlpp-grid rlpp-grid-3col”>
{% if table == [] %}
<p class=‘align-center’ style=“color: #2a2a2a; width: 100%;”>Sorry, no listings found for that Search. Try changing your filter and search again.</p>
{% else %}
{% for row in table %}

<div class=“resource-listing”>

<a href=" {{ row[“link”] }} " target=“_blank” style=“color: #fff;”>
<div class=“resource–format__icon”>
{% set table = hubdb_table_rows(module.hubdbtable_field) %}
{% for row in table %}
{% if row.format.name|lower == “download” %}
<i class=“fas fa-download”></i>
{% else %}
{% endif %}

{% endfor %}
</div>
<div class=“image-container”><img src=“{{ row[“image”].url}}”></div>
<div class=“category-display-container” style=“color: #dd083b;”>{{ row[“type”].name }}</div>
<h4 style=“color: #2a2a2a; text-align: center;”>{{ row[“title”] }}</h4>
<p style=“color: #2a2a2a; text-align: center;”>{{ row[“description”] }}</p>

<div class=“view-button-container”>
<button class=“view-button”>View Resource</button>
</div>

</a>
</div>
{% endfor %}
{% endif %}
</div>
<div class=“loadmore-container”>
<a href=“#” id=“loadMore”>Load More</a>
</div>

</div>