aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/signup/signup.component.html
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-07-25 11:01:53 +0200
committerChocobozzz <me@florianbigard.com>2018-07-25 11:01:53 +0200
commitb4a929accf576edc733fde75a81dfad9a3d288ed (patch)
treedbf7e0acca829b5fed3a363fe7b8e3f80041558f /client/src/app/signup/signup.component.html
parentb2c60abe6e1637d8f55688ffcbf99cf553ed52ea (diff)
downloadPeerTube-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.html11
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