{{define "flowbite_flash"}}
{{if .FlashSuccess}}
<div class="mb-4 flex items-center rounded-lg border border-green-200 bg-green-50 p-4 text-green-800" role="alert">
  <span class="text-sm font-medium">{{.FlashSuccess}}</span>
</div>
{{end}}
{{if .FlashError}}
<div class="mb-4 flex items-center rounded-lg border border-red-200 bg-red-50 p-4 text-red-800" role="alert">
  <span class="text-sm font-medium">{{.FlashError}}</span>
</div>
{{end}}
{{if .FlashWarning}}
<div class="mb-4 flex items-center rounded-lg border border-yellow-200 bg-yellow-50 p-4 text-yellow-800" role="alert">
  <span class="text-sm font-medium">{{.FlashWarning}}</span>
</div>
{{end}}
{{end}}
