show some sections only to admin user
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<h3 class="text-lg">{{ .data.shopItem.Name }}</h3>
|
||||
<i class="text-xs">{{ .data.shopItem.Description }}</i>
|
||||
<p class="">Price: {{ .data.shopItem.BasePrice }}</p>
|
||||
{{ if .loggedIn }}
|
||||
{{ if .isAdmin }}
|
||||
|
||||
<p class="mt-10 text-center text-sm/6 text-red-500">
|
||||
Do you really want to delete this item??
|
||||
|
||||
Reference in New Issue
Block a user