form: add pre-signup card

same as the post-signup card, but shown on the sidebar.
This commit is contained in:
Harvey Tindall
2025-12-02 14:56:15 +00:00
parent a4b94b4f45
commit 6e31a7e2dd
5 changed files with 50 additions and 1 deletions

View File

@@ -125,6 +125,11 @@
{{ if .fromUser }}
<aside class="col aside sm ~positive mb-4" id="invite-from-user" data-from="{{ .fromUser }}">{{ .strings.invitedBy }}</aside>
{{ end }}
{{ if .preSignupCard }}
<div class="card @low dark:~d_neutral break-words content">
{{ .preSignupCardContent }}
</div>
{{ end }}
<div class="card ~neutral @low mb-4">
<span class="label supra">{{ .strings.passwordRequirementsHeader }}</span>
<ul>