diff options
Diffstat (limited to 'client/src/app/shared/forms')
-rw-r--r-- | client/src/app/shared/forms/form-validators/video.ts | 5 | ||||
-rw-r--r-- | client/src/app/shared/forms/markdown-textarea.component.html | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/client/src/app/shared/forms/form-validators/video.ts b/client/src/app/shared/forms/form-validators/video.ts index 500b5bc5f..34a237a12 100644 --- a/client/src/app/shared/forms/form-validators/video.ts +++ b/client/src/app/shared/forms/form-validators/video.ts | |||
@@ -31,6 +31,11 @@ export const VIDEO_LANGUAGE = { | |||
31 | MESSAGES: {} | 31 | MESSAGES: {} |
32 | } | 32 | } |
33 | 33 | ||
34 | export const VIDEO_IMAGE = { | ||
35 | VALIDATORS: [ ], | ||
36 | MESSAGES: {} | ||
37 | } | ||
38 | |||
34 | export const VIDEO_CHANNEL = { | 39 | export const VIDEO_CHANNEL = { |
35 | VALIDATORS: [ Validators.required ], | 40 | VALIDATORS: [ Validators.required ], |
36 | MESSAGES: { | 41 | MESSAGES: { |
diff --git a/client/src/app/shared/forms/markdown-textarea.component.html b/client/src/app/shared/forms/markdown-textarea.component.html index d2d4cf95c..e8c5ded5b 100644 --- a/client/src/app/shared/forms/markdown-textarea.component.html +++ b/client/src/app/shared/forms/markdown-textarea.component.html | |||
@@ -5,7 +5,7 @@ | |||
5 | id="description" name="description"> | 5 | id="description" name="description"> |
6 | </textarea> | 6 | </textarea> |
7 | 7 | ||
8 | <tabset *ngIf="arePreviewsDisplayed()" #staticTabs class="previews"> | 8 | <tabset *ngIf="arePreviewsDisplayed()" class="previews"> |
9 | <tab *ngIf="truncate !== undefined" heading="Truncated description preview" [innerHTML]="truncatedDescriptionHTML"></tab> | 9 | <tab *ngIf="truncate !== undefined" heading="Truncated description preview" [innerHTML]="truncatedDescriptionHTML"></tab> |
10 | <tab heading="Complete description preview" [innerHTML]="descriptionHTML"></tab> | 10 | <tab heading="Complete description preview" [innerHTML]="descriptionHTML"></tab> |
11 | </tabset> | 11 | </tabset> |