add image to edititem view
All checks were successful
Go / build (push) Successful in 12m18s

This commit is contained in:
2025-04-14 01:36:54 +02:00
parent e22cc0b243
commit 667c3eba13
2 changed files with 5 additions and 1 deletions

View File

@@ -8,7 +8,7 @@
<div class="myClass group relative">
<a href="/shopitems/{{ .ID }}">
<img src="/{{ .Image }}" alt="Product Image" class="aspect-4/5 w-full rounded-md bg-gray-200 object-cover group-hover:opacity-75 lg:aspect-auto lg:h-80">
<img src="/{{ .Image }}" alt="Product Image" class="aspect-4/5 mx-auto rounded-md bg-gray-200 object-cover group-hover:opacity-75 lg:aspect-auto lg:h-80">
</a>
<div class="mt-4 flex justify-between">
<div>