Skip to content
Snippets Groups Projects
Commit 8907f783 authored by Gabriel Copat's avatar Gabriel Copat
Browse files

Added automatic updated alts for images

parent cf644c27
No related branches found
No related tags found
1 merge request!11Resolve "As a user, I want to see all trails across a town and seamlessly move between them."
This commit is part of merge request !11. Comments created here will be created in the context of that merge request.
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
<img class="trailsImages" <img class="trailsImages"
th:each="trail : ${trails}" th:each="trail : ${trails}"
th:src="@{${trail.getImgPath()}}" th:src="@{${trail.getImgPath()}}"
th:onclick="'updateOutputTrail('+ ${trail.id} +');'" th:onclick="'updateOutputTrail('+ ${trail.getId()} +');'"
th:id="'img' + ${trail.getId()}" alt="IMG" th:id="'img' + ${trail.getId()}" th:alt="${trail.getName()}"
> >
</div> </div>
</header> </header>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment