Finishing up our response to user, and adding alerts
This commit is contained in:
@ -116,6 +116,16 @@
|
||||
})
|
||||
}
|
||||
|
||||
{{with .Error}}
|
||||
notify("{{.}}", "error")
|
||||
{{end}}
|
||||
{{with .Warning}}
|
||||
notify("{{.}}", "warning")
|
||||
{{end}}
|
||||
{{with .Flash}}
|
||||
notify("{{.}}", "flash")
|
||||
{{end}}
|
||||
|
||||
// Prompt is out Javascript module for all alerts, notifications, and custom popup dialogs
|
||||
function Prompt() {
|
||||
let toast = function (c) {
|
||||
|
Reference in New Issue
Block a user