diff options
Diffstat (limited to 'client/src/app/shared/forms')
-rw-r--r-- | client/src/app/shared/forms/markdown-textarea.component.html | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/client/src/app/shared/forms/markdown-textarea.component.html b/client/src/app/shared/forms/markdown-textarea.component.html index 802562dd7..3de3b6fcd 100644 --- a/client/src/app/shared/forms/markdown-textarea.component.html +++ b/client/src/app/shared/forms/markdown-textarea.component.html | |||
@@ -5,8 +5,13 @@ | |||
5 | id="description" name="description"> | 5 | id="description" name="description"> |
6 | </textarea> | 6 | </textarea> |
7 | 7 | ||
8 | <tabset *ngIf="arePreviewsDisplayed()" class="previews"> | 8 | <ngb-tabset *ngIf="arePreviewsDisplayed()" class="previews" type="pills"> |
9 | <tab *ngIf="truncate !== undefined" i18n-heading heading="Truncated preview" [innerHTML]="truncatedPreviewHTML"></tab> | 9 | <ngb-tab *ngIf="truncate !== undefined" i18n-title title="Truncated preview"> |
10 | <tab i18n-heading heading="Complete preview" [innerHTML]="previewHTML"></tab> | 10 | <ng-template ngbTabContent><div [innerHTML]="truncatedPreviewHTML"></div></ng-template> |
11 | </tabset> | 11 | </ngb-tab> |
12 | |||
13 | <ngb-tab i18n-title title="Complete preview"> | ||
14 | <ng-template ngbTabContent><div [innerHTML]="previewHTML"></div></ng-template> | ||
15 | </ngb-tab> | ||
16 | </ngb-tabset> | ||
12 | </div> | 17 | </div> |