We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3083b76 commit 4ef1b52Copy full SHA for 4ef1b52
templates/customers/customer.html
@@ -91,7 +91,7 @@ <h1 class="text-lg font-extrabold">Banking</h1>
91
<p class="text-muted">Account(s) available for this customer.</p>
92
</div>
93
<div id="customer-accounts">{{ template "accounts" .Customer }}</div>
94
- {{ if lt (len .Customer.Accounts) 2 }}
+ {{ if and (lt (len .Customer.Accounts) 2) .SignedIn }}
95
<div class="flex justify-start">
96
<button hx-get="/customers/{{ .Customer.ID }}/open-account" hx-trigger="click" hx-target="body"
97
hx-swap="beforeend" class="btn-primary px-3 py-1.5 text-sm">Open
0 commit comments