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">
|
2020-05-24 17:34:32 +03:00
|
|
|
Error: {{ .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">
|
2020-05-24 17:34:32 +03:00
|
|
|
{{ .Success | capitalize }}
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-05-24 14:43:28 +03:00
|
|
|
{{ end }}
|