23 lines
468 B
Cheetah
23 lines
468 B
Cheetah
{{- .Auth.ByMatchingAccountID 2 }}
|
|
|
|
{{- define "title" }} Inventory++ Shops {{ end }}
|
|
|
|
{{- $acctID := .Identity.Account.AccountID }}
|
|
|
|
|
|
<section
|
|
id="shops-section"
|
|
class="
|
|
m-[1rem]
|
|
pb-[1rem]
|
|
"
|
|
>
|
|
<ul class="list-none" hx-swap="morph">
|
|
{{- range $i, $platform := .Accounts.GetOrderOfPlatformsOnAccountPage $acctID }}
|
|
{{ component (printf "/accounts/%d/platforms/%s/shops/list-item" $acctID $platform)
|
|
"OrderIndex" $i
|
|
}}
|
|
{{- end }}
|
|
</ul>
|
|
</section>
|