mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-06 19:36:41 +00:00
feat: add terms on register and register org (#699)
* feat: add terms on register and register org * feat: add terms on register and register org * update form_submit.js to handle checkboxes correctly * feat: free tier on org reg Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
@@ -56,6 +56,16 @@
|
||||
<label class="label" for="register-password-confirmation">{{t "Registration.Password2"}}</label>
|
||||
<input class="input" type="password" id="register-password-confirmation" name="register-password-confirmation" autocomplete="new-password" required>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="label" for="register-term-confirmation">{{t "Registration.Tos"}}</label>
|
||||
<div class="field check-box">
|
||||
<input class="input" type="checkbox" id="register-term-confirmation" name="register-term-confirmation" required>
|
||||
<label for="register-term-confirmation">
|
||||
{{t "Registration.TosConfirm"}}
|
||||
<a class="" target="_blank" href="{{t "Registration.TosLinkText"}}">{{t "Registration.TosLinkText"}}</a>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{template "error-message" .}}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{{template "main-top" .}}
|
||||
|
||||
<h1>{{t "RegistrationOrg.Title"}}</h1>
|
||||
<p class="free-tier">{{t "RegistrationOrg.FreeTillEndOfYear"}}</p>
|
||||
<p>{{t "RegistrationOrg.Description"}}</p>
|
||||
|
||||
<form action="{{ orgRegistrationUrl }}" method="POST">
|
||||
@@ -54,6 +55,16 @@
|
||||
<label class="label" for="register-password-confirmation">{{t "RegistrationOrg.Password2"}}</label>
|
||||
<input class="input" type="password" id="register-password-confirmation" name="register-password-confirmation" autocomplete="new-password" required>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="label" for="register-term-confirmation">{{t "RegistrationOrg.Tos"}}</label>
|
||||
<div class="field check-box">
|
||||
<input class="input" type="checkbox" id="register-term-confirmation" name="register-term-confirmation" required>
|
||||
<label for="register-term-confirmation">
|
||||
{{t "RegistrationOrg.TosConfirm"}}
|
||||
<a class="" target="_blank" href="{{t "RegistrationOrg.TosLink"}}">{{t "RegistrationOrg.TosLinkText"}}</a>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{template "error-message" .}}
|
||||
|
||||
Reference in New Issue
Block a user