{{ if .Error }}
<div class="flex justify-center w-full">
    <div class="p-4 text-white text-sm bg-red-500 rounded mt-16 shadow flex-grow max-w-lg">
        Error: {{ .Error | capitalize }}
    </div>
</div>
{{ else if .Success }}
    <div class="flex justify-center w-full">
        <div class="p-4 text-white text-sm bg-green-500 rounded mt-16 shadow flex-grow max-w-lg">
            {{ .Success | capitalize }}
        </div>
    </div>
{{ end }}