diff --git a/src/main/resources/local-authorities.html b/src/main/resources/local-authorities.html index 3526761a2c43a0a80b385f01b9d923d578321d1f..567e0ae5326192585426c64c3b55629bee98847c 100644 --- a/src/main/resources/local-authorities.html +++ b/src/main/resources/local-authorities.html @@ -9,6 +9,9 @@ <body> <h1>Local Authorities</h1> <div id="councils"> + <ul th:each="localauthority:${localauthorities}"> + <li th:text="${localauthority}"></li> + </ul> </div> <p>Local Autorities please enter here</p><button><a href="local-auth-data.html" id="authority">Login</a></button> <footer th:insert="~{/towns/Templating.html::footer}"></footer> diff --git a/src/main/resources/templates/towns/local-authorities.html b/src/main/resources/templates/towns/local-authorities.html deleted file mode 100644 index bff9c093072dd9c949589ed6af85b35c0e407f57..0000000000000000000000000000000000000000 --- a/src/main/resources/templates/towns/local-authorities.html +++ /dev/null @@ -1,21 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="UTF-8"> - <title>Local Authorities</title> - <link rel="stylesheet" th:href="@{/css/templatingstyle.css}"> -</head> -<header th:insert="~{/towns/Templating.html::header}"></header> -<body> -<h1>Local Authorities</h1> -<div id="councils"> - <p>Caerphilly County Borough Council,<br>Tredomen Park,<br> Ystrad Mynach,<br> Hengoed,<br> CF82 7PG</p> - <a href="https://www.caerphilly.gov.uk/main.aspx?lang=en-GB">Caerphilly County Borough Council Website</a> - <p>Risca Town Council,<br>Risca Palace Library,<br>Unit B,<br>75 Tredegar Street,<br>Risca,<br>NP11 6BW</p> - <a href="https://www.riscatowncouncil.org.uk/">Risca Town Council Website</a> - <p>Penarth Town Council West House,<br>Stanwell Road,<br>Penarth,<br> CF64 2YG</p> - <a href="https://www.penarthtowncouncil.gov.uk/your-council/">Penarth Town Council Website</a> -</div> -<footer th:insert="~{/towns/Templating.html::footer}"></footer> -</body> -</html> \ No newline at end of file