From 6499bc08846aa970b09ccbd21ae12b6ceb63b4fa Mon Sep 17 00:00:00 2001 From: Terence Eden Date: Sun, 14 Jul 2024 21:18:29 +0100 Subject: [PATCH] Fix HTML validation errors --- www/templates/add.html.twig | 20 ++++++++++---------- www/templates/base.html.twig | 2 +- www/templates/colophon.html.twig | 22 +++++++++++----------- www/templates/edit.html.twig | 28 ++++++++++++++-------------- www/templates/flickr.html.twig | 2 +- www/templates/soundex.html.twig | 2 +- 6 files changed, 38 insertions(+), 38 deletions(-) diff --git a/www/templates/add.html.twig b/www/templates/add.html.twig index 88b8251..638f78e 100644 --- a/www/templates/add.html.twig +++ b/www/templates/add.html.twig @@ -11,7 +11,7 @@

Welcome {{ provider|capitalize }} user {{ username }} {% if avatar is not null %} - + {% endif %}

{% endif %} @@ -34,7 +34,7 @@ Please make sure the inscription is legible and well framed. - +
@@ -76,9 +76,9 @@ A lot..." required>
 
@@ -113,7 +113,7 @@ A lot..." required> 📷 Optional photo of same bench
- +
@@ -138,7 +138,7 @@ A lot..." required> 📷 Optional photo of same bench
- +
@@ -165,7 +165,7 @@ A lot..." required> By adding a bench, you agree that you own the copyright of the photo and that you are making it freely available under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.
This means other people can use the photo and its data without having to ask permission, but they will have to give appropriate credit. Thanks!
@@ -183,7 +183,7 @@ A lot..." required> }); -
- - - - + + + +
 
@@ -133,20 +133,20 @@ width="{{ media.width}}" height="{{ media.height }}" class="proxy-image" - loading="lazy" /> + loading="lazy"> {% if media.importURL is not null %} {{ media.licence }} + alt="{{ media.licence }}"> {% else %} Creative Commons Attribution Share-Alike + alt="Creative Commons Attribution Share-Alike"> {% endif %} {{ media.formattedDate }}
@@ -181,7 +181,7 @@ Please make sure the inscription is legible and well framed.
- +
@@ -204,7 +204,7 @@ 📷 Optional photo of same bench
- +
@@ -227,7 +227,7 @@ 📷 Optional photo of same bench
- +
@@ -250,7 +250,7 @@ 📷 Optional photo of same bench
- +
@@ -277,7 +277,7 @@
 
- +
@@ -290,7 +290,7 @@ } }); -