diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-20 16:18:16 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-21 15:39:51 +0200 |
commit | 7294aab0c879ef96c0fde15c389a2c4c1463d3c7 (patch) | |
tree | bad1176720ee04266eba5470e9956e3a7871e349 /client/src/app/+videos/+video-edit/shared/video-edit.component.html | |
parent | f95628636b6ccdf3eae2449ca718e075b072f678 (diff) | |
download | PeerTube-7294aab0c879ef96c0fde15c389a2c4c1463d3c7.tar.gz PeerTube-7294aab0c879ef96c0fde15c389a2c4c1463d3c7.tar.zst PeerTube-7294aab0c879ef96c0fde15c389a2c4c1463d3c7.zip |
Add ability to set custom field to video form
Diffstat (limited to 'client/src/app/+videos/+video-edit/shared/video-edit.component.html')
-rw-r--r-- | client/src/app/+videos/+video-edit/shared/video-edit.component.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/client/src/app/+videos/+video-edit/shared/video-edit.component.html b/client/src/app/+videos/+video-edit/shared/video-edit.component.html index ae3413e79..842997b20 100644 --- a/client/src/app/+videos/+video-edit/shared/video-edit.component.html +++ b/client/src/app/+videos/+video-edit/shared/video-edit.component.html | |||
@@ -265,6 +265,21 @@ | |||
265 | </ng-template> | 265 | </ng-template> |
266 | </ng-container> | 266 | </ng-container> |
267 | 267 | ||
268 | <ng-container ngbNavItem *ngIf="pluginFields.length !== 0"> | ||
269 | <a ngbNavLink i18n>Plugin settings</a> | ||
270 | |||
271 | <ng-template ngbNavContent> | ||
272 | <div class="row plugin-settings"> | ||
273 | |||
274 | <div class="col-md-12 col-xl-8"> | ||
275 | <div *ngFor="let pluginSetting of pluginFields" class="form-group"> | ||
276 | <my-dynamic-form-field [form]="pluginDataFormGroup" [formErrors]="formErrors" [setting]="pluginSetting.commonOptions"></my-dynamic-form-field> | ||
277 | </div> | ||
278 | </div> | ||
279 | |||
280 | </div> | ||
281 | </ng-template> | ||
282 | </ng-container> | ||
268 | </div> | 283 | </div> |
269 | 284 | ||
270 | <div [ngbNavOutlet]="nav"></div> | 285 | <div [ngbNavOutlet]="nav"></div> |