aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-edit/shared/video-edit.component.html
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-23 10:05:17 +0100
committerChocobozzz <me@florianbigard.com>2018-02-23 10:05:17 +0100
commit621d99f53f47a11919ec243e05273ecf5907b444 (patch)
treedcd0d0ccc21bad4065bf49e2df3e641ffa18fee1 /client/src/app/videos/+video-edit/shared/video-edit.component.html
parent8a8e02a43e346b9b777c8192a7c5cbdccb928b11 (diff)
downloadPeerTube-621d99f53f47a11919ec243e05273ecf5907b444.tar.gz
PeerTube-621d99f53f47a11919ec243e05273ecf5907b444.tar.zst
PeerTube-621d99f53f47a11919ec243e05273ecf5907b444.zip
Better help on markdown fields
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.html6
1 files changed, 4 insertions, 2 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 f88abcbf8..f4ec4f95c 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
@@ -20,7 +20,8 @@
20 </div> 20 </div>
21 21
22 <div class="form-group"> 22 <div class="form-group">
23 <label for="description">Description</label> <my-help helpType="markdownText"></my-help> 23 <label for="description">Description</label>
24 <my-help helpType="markdownText" preHtml="Video descriptions are truncated by default and require manual action to expand them."></my-help>
24 <my-markdown-textarea truncate="250" formControlName="description"></my-markdown-textarea> 25 <my-markdown-textarea truncate="250" formControlName="description"></my-markdown-textarea>
25 26
26 <div *ngIf="formErrors.description" class="form-error"> 27 <div *ngIf="formErrors.description" class="form-error">
@@ -127,7 +128,8 @@
127 </div> 128 </div>
128 129
129 <div class="form-group"> 130 <div class="form-group">
130 <label for="support">Support</label><my-help helpType="markdownEnhanced"></my-help> 131 <label for="support">Support</label>
132 <my-help helpType="markdownEnhanced" preHtml="Short text to tell to people how they can support you (membership platform...)."></my-help>
131 <my-markdown-textarea 133 <my-markdown-textarea
132 id="support" formControlName="support" textareaWidth="500px" [previewColumn]="true" markdownType="enhanced" 134 id="support" formControlName="support" textareaWidth="500px" [previewColumn]="true" markdownType="enhanced"
133 [classes]="{ 'input-error': formErrors['support'] }" 135 [classes]="{ 'input-error': formErrors['support'] }"