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 @@
-
+