diff --git a/webcontroller/forms.go b/webcontroller/forms.go index db43257..998ae31 100644 --- a/webcontroller/forms.go +++ b/webcontroller/forms.go @@ -51,7 +51,7 @@ type Field struct { Label string // Text below the input field - Description string + Description template.HTML // Separates fields with a horizontal rule Separator bool diff --git a/webcontroller/user_account.go b/webcontroller/user_account.go index 8ba3c20..17a11e7 100644 --- a/webcontroller/user_account.go +++ b/webcontroller/user_account.go @@ -61,9 +61,13 @@ func (wc *WebController) registerForm(td *TemplateData, r *http.Request) (f Form }, { Name: "email", Label: "E-mail address", - Description: "not required. your e-mail address will only be " + - "used for password resets and important account " + - "notifications", + Description: `not required. your e-mail address will only be + used for password resets and important account + notifications

+ Note: Gmail has been blocking mails from pixeldrain since + the 13th of july. Please + contact Google + if you didn't receive your confirmation mail`, Separator: true, Type: FieldTypeEmail, }, { @@ -190,8 +194,12 @@ func (wc *WebController) passwordResetForm(td *TemplateData, r *http.Request) (f { Name: "email", Label: "E-mail address", - Description: "we will send a password reset link to this " + - "e-mail address", + Description: `we will send a password reset link to this e-mail + address

+ Note: Gmail has been blocking mails from pixeldrain since + the 13th of july. Please + contact Google + if you didn't receive your confirmation mail`, Separator: true, Type: FieldTypeEmail, }, { diff --git a/webcontroller/user_settings.go b/webcontroller/user_settings.go index 37a9808..db2b30e 100644 --- a/webcontroller/user_settings.go +++ b/webcontroller/user_settings.go @@ -136,10 +136,14 @@ func (wc *WebController) emailForm(td *TemplateData, r *http.Request) (f Form) { { Name: "new_email", Label: "New e-mail address", - Description: "we will send an e-mail to the new address to " + - "verify that it's real. The address will be saved once " + - "the link in the message is clicked. If the e-mail " + - "doesn't arrive right away please check your spam box too", + Description: `we will send an e-mail to the new address to + verify that it's real. The address will be saved once the + link in the message is clicked. If the e-mail doesn't arrive + right away please check your spam box too.

+ Note: Gmail has been blocking mails from pixeldrain since + the 13th of july. Please + contact Google + if you didn't receive your confirmation mail`, Type: FieldTypeEmail, }, },