See "img upload" in sidebar snet/molecules for variants, or go to info panel and look for it in "references" (@snet-img-upload)
Refer to modal frame found in view tab for complete structure without content.
A modal's default size is 640px
Modifier classes for modals
A modal with a content loading component behaves as follows:
<div class="sds-modal modal fade -bodySecondary06" id="priseRDVCapctcha" aria-hidden="true" tabindex="-1">
<div class="sds-modal__dialog modal-dialog modal-lg modal-dialog-scrollable modal-dialog-centered">
<div class="sds-modal__content modal-content">
<div class="sds-modal__header modal-header">
<h5 class="sds-modal__title modal-title">Captcha</h5>
<button type="button" class="sds-btn -iconBtn -btnSecondary -ghost sds-modal__close" data-dismiss="modal" aria-label="Close">
<span class="sds-icon sds-icon-close"></span>
</button>
</div>
<div class="sds-modal__body modal-body">
<div class="sds-stackMd">
<p class="sds-textBodyLg">Veuillez confirmer que vous êtes bien un humain</p>
<div class="sds-box -insetLg sds-stackMd">
<div class="h4">Sélectionnez l'image qui correspond à: Téléphone</div>
<div class="sds-captcha">
<div class="sds-captcha__innerWrapper">
<ul class="list-unstyled sds-captcha__inner btn-group-toggle" data-toggle="radios">
<li>
<label class="sds-captcha__item" for="captcha-1">
<input id="captcha-1" name="captcha" class="sr-only" type="radio">
<span class="sds-badgeSelector sds-captcha__selectorShape">
<span class="sds-icon sds-icon-star"></span>
</span>
</label>
</li>
<li>
<label class="sds-captcha__item" for="captcha-2">
<input id="captcha-2" name="captcha" class="sr-only" type="radio">
<span class="sds-badgeSelector sds-captcha__selectorShape">
<span class="sds-icon sds-icon-phone"></span>
</span>
</label>
</li>
<li>
<label class="sds-captcha__item" for="captcha-3">
<input id="captcha-3" name="captcha" class="sr-only" type="radio">
<span class="sds-badgeSelector sds-captcha__selectorShape">
<span class="sds-icon sds-icon-camera"></span>
</span>
</label>
</li>
<li>
<label class="sds-captcha__item" for="captcha-4">
<input id="captcha-4" name="captcha" class="sr-only" type="radio">
<span class="sds-badgeSelector sds-captcha__selectorShape">
<span class="sds-icon sds-icon-trash"></span>
</span>
</label>
</li>
<li>
<label class="sds-captcha__item" for="captcha-5">
<input id="captcha-5" name="captcha" class="sr-only" type="radio">
<span class="sds-badgeSelector sds-captcha__selectorShape">
<span class="sds-icon sds-icon-visible"></span>
</span>
</label>
</li>
</ul>
<div class="sds-captcha__error invalid-feedback">
captcha error message
</div>
</div>
</div>
</div>
</div>
</div>
<div class="sds-modal__footer modal-footer">
<div class="sds-btnGroup">
<button type="button" class="sds-btn -btnPrimary">
<span class="sds-btn__text">Fermer</span>
</button>
</div>
</div>
</div>
</div>
</div>
{% extends "@snet-modal-base-frame" %}
{% block header %}
<h5 class="{{ namespace }}modal__title modal-title">{{ title }}</h5>
{% endblock %}
{% block body %}
<div class="{{ namespace }}stackMd">
<p class="{{ namespace }}textBodyLg">Veuillez confirmer que vous êtes bien un humain</p>
<div class="{{ namespace }}box -insetLg {{ namespace }}stackMd">
<div class="h4">Sélectionnez l'image qui correspond à: Téléphone</div>
{% render "@captcha" %}
</div>
</div>
{% endblock %}
{% block footer %}
<div class="{{ namespace }}btnGroup">
{% render "@btn-primary",{
text: "Fermer",
attrs: imgTextBtnModalAttrs
},true %}
</div>
{% endblock %}