{{define "tabler_components_content"}}
{{$c := .}}

{{if hasField $c "Alerts"}}
<div class="card mb-3">
  <div class="card-header"><h3 class="card-title">Alerts</h3></div>
  <div class="card-body">
    {{range $c.Alerts}}
    {{template "tabler_alert" .}}
    {{end}}
  </div>
</div>
{{end}}

{{if hasField $c "Breadcrumbs"}}
<div class="card mb-3">
  <div class="card-header"><h3 class="card-title">Breadcrumbs</h3></div>
  <div class="card-body">
    {{range $c.Breadcrumbs}}
    {{template "tabler_breadcrumb" .}}
    {{end}}
  </div>
</div>
{{end}}

{{if hasField $c "Toasts"}}
<div class="card mb-3">
  <div class="card-header"><h3 class="card-title">Toasts</h3></div>
  <div class="card-body">
    {{range $c.Toasts}}
    {{template "tabler_toast" .}}
    {{end}}
  </div>
</div>
{{end}}
{{end}}
