ref: 3f00959ef22dc6e77ab658fa4d9de891936df09c
dir: /resetpassword.go/
package pages import ( "github.com/olmaxmedical/plugins" "github.com/olmaxmedical/router" "golang.org/x/text/message" ) func init() { b := &router.Page{ Access: router.GuestAuth, CSS: "", Path: "resetpassword", Data: resetPassword, Extra: plugins.FormErrors, } router.AddPage(b) } func resetPassword(p *message.Printer) map[string]interface{} { // TODO: Also add in the error messages here return map[string]interface{}{ "title": p.Sprintf("Olmax Medical | Login"), "reset": p.Sprintf("Enter Email"), "resettext": p.Sprintf("We will send a reset code to the email provided"), "email": p.Sprintf("Email:"), "sendreset": p.Sprintf("Reset"), } }