{% comment %} Club-admin-only "Add these to your site" control for embedding the BAP leaderboard. Shown on the BAP page (which is already gated behind permission_manage_bap). Expects `club` and `bap_embed_path` in context. Only names + points are ever exposed — no PII. {% endcomment %} {% if club.enable_breeder_award_program and bap_embed_path %}
Embed your current top-10 leaderboard on another website. Only names and points are shown —
never emails or member numbers.
{% if club.separate_hap or club.separate_cap %}
Add &program=hap{% if club.separate_cap %} or &program=cap{% endif %}
to the URL to show a different program.
{% endif %}
<iframe src="{{ request.scheme }}://{{ request.get_host }}{{ bap_embed_path }}?format=iframelight"
style="border:0;width:100%;max-width:480px;height:420px"></iframe>
<iframe src="{{ request.scheme }}://{{ request.get_host }}{{ bap_embed_path }}?format=iframedark"
style="border:0;width:100%;max-width:480px;height:420px"></iframe>
{{ request.scheme }}://{{ request.get_host }}{{ bap_embed_path }}?format=unstyledhtml{{ request.scheme }}://{{ request.get_host }}{{ bap_embed_path }}?format=json