{% if show_member_option %}
{% if show_industry %}
{% else %}
{% if not memberships_search %} {# put the checkbox here if the industry field is NOT presented #}
{% endif %}
{% endif %}
{% if show_industry and not memberships_search %} {# put the checkbox here if the industry field is presented #}
{% endif %}
{% endif %}