14 lines
410 B
Plaintext
14 lines
410 B
Plaintext
package users
|
|
|
|
import "git.jamestombleson.com/jtom38/newsbot-portal/components/bulma"
|
|
|
|
// This is returned after the user creates an account.
|
|
// It just returns a partial view because it will overlap with the existing template.
|
|
templ AfterSignUp(message string, success bool) {
|
|
if success {
|
|
@bulma.Notification(message, bulma.ColorSuccess)
|
|
} else {
|
|
@bulma.Notification(message, bulma.ColorError)
|
|
}
|
|
}
|