2020-05-24 14:43:28 +03:00
|
|
|
{{ if .Error }}
|
|
|
|
<div class="flex justify-center w-full">
|
2022-10-09 02:53:52 +03:00
|
|
|
<div class="p-4 font-semibold text-white text-sm bg-red-500 rounded mt-16 shadow grow max-w-lg">
|
2023-01-02 20:05:28 +03:00
|
|
|
Error: {{ .Messages.Error | capitalize }}
|
2020-05-24 14:43:28 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-05-24 17:34:32 +03:00
|
|
|
{{ else if .Success }}
|
|
|
|
<div class="flex justify-center w-full">
|
2022-10-09 02:53:52 +03:00
|
|
|
<div class="p-4 font-semibold text-white text-sm bg-green-500 rounded mt-16 shadow grow max-w-lg">
|
2023-01-02 20:05:28 +03:00
|
|
|
{{ .Messages.Success | capitalize }}
|
2020-05-24 17:34:32 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-05-24 14:43:28 +03:00
|
|
|
{{ end }}
|