{{ define "flashes" -}} {{ if . }} <div class="alert alert-secondary d-flex align-items-center p-3 bg-warning bg-opacity-10 border border-warning rounded mb-4 alert-dismissible fade show"> <span id="warning-emj">⚠️</span> <ul class="m-0"> {{ range . }} <li>{{ . }}</li> {{ end }} </ul> <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button> </div> {{ end }} {{ end }}