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" id="modalBase" aria-labelledby="modalBaseTitle" aria-modal="true" role="dialog" tabindex="-1">
<div class="sds-modal__dialog modal-dialog modal-dialog-centered modal-dialog-scrollable">
<div class="sds-modal__content modal-content">
<div class="sds-modal__header modal-header">
<div class="sds-modal__title modal-title" id="modalBaseTitle">Modal title</div>
<button type="button" class="sds-btn -iconBtn -btnSecondary -ghost sds-modal__close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true" class="sds-icon sds-icon-close"></span>
</button>
</div>
<div class="sds-modal__body modal-body">
<div class="form-group">
<label for="" class="sds-label -labelForm">
Etat civil
</label>
<div class="sds-select">
<select id="" class="sds-select form-control">
<option value="opt-0">Option 1</option>
<option value="opt-1">Option 2</option>
<option value="opt-2">Option 3</option>
</select>
<span class="sds-select__arrow sds-icon sds-icon-chevrondown" aria-hidden="true"></span>
</div>
</div>
</div>
<div class="sds-modal__footer modal-footer">
<ul class="sds-btnGroup">
<li>
<button type="button" class="sds-btn -btnSecondary -btnInverse" data-dismiss="modal">
<span class="sds-btn__text">
Annuler
</span>
</button>
</li>
<li>
<button type="button" class="sds-btn -btnPrimary">
<span class="sds-btn__text">
Continuer
</span>
</button>
</li>
</ul>
</div>
</div>
</div>
</div>
{% extends "@snet-modal-base-frame" %}
{% block header %}
<div class="{{ namespace }}modal__title modal-title" id="{{ modalTitleID }}">{{ title }}</div>
{% endblock %}
{% block body %}
<div class="form-group">
{% render "@label--form",{text: "Etat civil"},true %}
{% render "@select" %}
</div>
{% endblock %}
{% block footer %}
<ul class="{{ namespace }}btnGroup">
<li>
{% render "@btn-secondary-inverse", {
text: "Annuler",
attrs: {
"data-dismiss": "modal"
}
} ,true %}
</li>
<li>
{% render "@btn-primary",{text: "Continuer"},true %}
</li>
</ul>
{% endblock %}