]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.component.html
Add ability to schedule video publication
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-video-channels / my-account-video-channel-edit.component.html
CommitLineData
b1d40cff
C
1<div i18n class="form-sub-title" *ngIf="isCreation() === true">Create a video channel</div>
2<div i18n class="form-sub-title" *ngIf="isCreation() === false">Update {{ videoChannel?.displayName }}</div>
08c1efbe
C
3
4<div *ngIf="error" class="alert alert-danger">{{ error }}</div>
5
6<form role="form" (ngSubmit)="formValidated()" [formGroup]="form">
7 <div class="form-group">
b1d40cff 8 <label i18n for="display-name">Display name</label>
08c1efbe
C
9 <input
10 type="text" id="display-name"
11 formControlName="display-name" [ngClass]="{ 'input-error': formErrors['display-name'] }"
12 >
6a478b11
C
13 <div *ngIf="formErrors['display-name']" class="form-error">
14 {{ formErrors['display-name'] }}
08c1efbe
C
15 </div>
16 </div>
17
18 <div class="form-group">
b1d40cff 19 <label i18n for="description">Description</label>
08c1efbe
C
20 <textarea
21 id="description" formControlName="description"
22 [ngClass]="{ 'input-error': formErrors['description'] }"
23 ></textarea>
24 <div *ngIf="formErrors.description" class="form-error">
25 {{ formErrors.description }}
26 </div>
27 </div>
28
29 <div class="form-group">
30 <label for="support">Support</label>
74af5145 31 <my-help
b1d40cff 32 helpType="markdownEnhanced" i18n-preHtml preHtml="Short text to tell people how they can support your channel (membership platform...).<br /><br />
74af5145
C
33When you will upload a video in this channel, the video support field will be automatically filled by this text."
34 ></my-help>
08c1efbe
C
35 <my-markdown-textarea
36 id="support" formControlName="support" textareaWidth="500px" [previewColumn]="true" markdownType="enhanced"
37 [classes]="{ 'input-error': formErrors['support'] }"
38 ></my-markdown-textarea>
39 <div *ngIf="formErrors.support" class="form-error">
40 {{ formErrors.support }}
41 </div>
42 </div>
43
44 <input type="submit" value="{{ getFormButtonTitle() }}" [disabled]="!form.valid">
45</form>