diff options
author | Chocobozzz <me@florianbigard.com> | 2018-07-25 11:01:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-07-25 11:01:53 +0200 |
commit | b4a929accf576edc733fde75a81dfad9a3d288ed (patch) | |
tree | dbf7e0acca829b5fed3a363fe7b8e3f80041558f /client/src/app/signup/signup.component.html | |
parent | b2c60abe6e1637d8f55688ffcbf99cf553ed52ea (diff) | |
download | PeerTube-b4a929accf576edc733fde75a81dfad9a3d288ed.tar.gz PeerTube-b4a929accf576edc733fde75a81dfad9a3d288ed.tar.zst PeerTube-b4a929accf576edc733fde75a81dfad9a3d288ed.zip |
Add "agree to the terms" checkbox in registration form
Diffstat (limited to 'client/src/app/signup/signup.component.html')
-rw-r--r-- | client/src/app/signup/signup.component.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/client/src/app/signup/signup.component.html b/client/src/app/signup/signup.component.html index 2fe9a4281..565b695d9 100644 --- a/client/src/app/signup/signup.component.html +++ b/client/src/app/signup/signup.component.html | |||
@@ -54,6 +54,17 @@ | |||
54 | </div> | 54 | </div> |
55 | </div> | 55 | </div> |
56 | 56 | ||
57 | <div class="form-group form-group-terms"> | ||
58 | <my-peertube-checkbox | ||
59 | inputName="terms" formControlName="terms" | ||
60 | i18n-labelHtml labelHtml="I have read and agree to the <a href='/about/instance#terms-section' target='_blank'rel='noopener noreferrer'>Terms</a> of this instance" | ||
61 | ></my-peertube-checkbox> | ||
62 | |||
63 | <div *ngIf="formErrors.terms" class="form-error"> | ||
64 | {{ formErrors.terms }} | ||
65 | </div> | ||
66 | </div> | ||
67 | |||
57 | <input type="submit" i18n-value value="Signup" [disabled]="!form.valid"> | 68 | <input type="submit" i18n-value value="Signup" [disabled]="!form.valid"> |
58 | </form> | 69 | </form> |
59 | 70 | ||