From 235133073242eae2d9d5dcdb4e6a132af1fc63af Mon Sep 17 00:00:00 2001 From: Son Nguyen Kim Date: Mon, 10 Jul 2023 14:41:52 +0200 Subject: [PATCH] mention about proton mail during signup (#1796) * mention about proton mail during signup * format * trim whitespaces --------- Co-authored-by: Son NK Co-authored-by: Son NK --- CONTRIBUTING.md | 6 ++++++ templates/auth/register.html | 5 ++++- templates/single.html | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c8b726ec..637d2fdb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -169,6 +169,12 @@ For HTML templates, we use `djlint`. Before creating a pull request, please run poetry run djlint --check templates ``` +If some files aren't properly formatted, you can format all files with + +```bash +poetry run djlint --reformat . +``` + ## Test sending email [swaks](http://www.jetmore.org/john/code/swaks/) is used for sending test emails to the `email_handler`. diff --git a/templates/auth/register.html b/templates/auth/register.html index bf2f0a72..e081c906 100644 --- a/templates/auth/register.html +++ b/templates/auth/register.html @@ -9,10 +9,13 @@

Create new account

- {{ form.email(class="form-control", type="email") }} + {{ form.email(class="form-control", type="email", placeholder="YourName@protonmail.com") }}
Emails sent to your alias will be forwarded to this email address. +
It can't be a disposable or forwarding email address. +
+ We recommend using a Proton Mail address
{{ render_field_errors(form.email) }}
diff --git a/templates/single.html b/templates/single.html index df8e4086..0d440922 100644 --- a/templates/single.html +++ b/templates/single.html @@ -5,7 +5,7 @@
-
+