diff options
author | madmath03 <mb.mathieu.brunot@gmail.com> | 2020-11-27 19:51:25 +0000 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-11-30 14:49:44 +0100 |
commit | 972de8f111fcacf523cf33062dd734e498df1081 (patch) | |
tree | 3b616a77401bd9897d40cbc8cc128242457359ec /client/src | |
parent | ee663cce0027167c29279863abde477c9c0a2826 (diff) | |
download | PeerTube-972de8f111fcacf523cf33062dd734e498df1081.tar.gz PeerTube-972de8f111fcacf523cf33062dd734e498df1081.tar.zst PeerTube-972de8f111fcacf523cf33062dd734e498df1081.zip |
:sparkles: Add input-password #3375
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/shared/shared-forms/dynamic-form-field.component.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-forms/dynamic-form-field.component.html b/client/src/app/shared/shared-forms/dynamic-form-field.component.html index 17b4a134f..6a3c31637 100644 --- a/client/src/app/shared/shared-forms/dynamic-form-field.component.html +++ b/client/src/app/shared/shared-forms/dynamic-form-field.component.html | |||
@@ -5,6 +5,8 @@ | |||
5 | 5 | ||
6 | <input *ngIf="setting.type === 'input'" type="text" [id]="setting.name" [formControlName]="setting.name" /> | 6 | <input *ngIf="setting.type === 'input'" type="text" [id]="setting.name" [formControlName]="setting.name" /> |
7 | 7 | ||
8 | <input *ngIf="setting.type === 'input-password'" type="password" [id]="setting.name" [formControlName]="setting.name" /> | ||
9 | |||
8 | <textarea *ngIf="setting.type === 'input-textarea'" type="text" [id]="setting.name" [formControlName]="setting.name"></textarea> | 10 | <textarea *ngIf="setting.type === 'input-textarea'" type="text" [id]="setting.name" [formControlName]="setting.name"></textarea> |
9 | 11 | ||
10 | <my-help *ngIf="setting.type === 'markdown-text'" helpType="markdownText"></my-help> | 12 | <my-help *ngIf="setting.type === 'markdown-text'" helpType="markdownText"></my-help> |