1 <form role=
"form" [formGroup]=
"form">
3 <div class=
"channel-explanations">
5 A channel is an entity in which you upload your videos. Creating several of them helps you to organize and separate your content.
<br />
6 For example, you could decide to have a channel to publish your piano concerts, and another channel in which you publish your videos talking about ecology.
10 Other users can decide to subscribe any channel they want, to be notified when you publish a new video.
14 <div class=
"form-group">
15 <label for=
"name" i18n
>Channel name
</label>
17 <div class=
"input-group">
19 type=
"text" id=
"name" i18n-placeholder
placeholder=
"Example: my_super_channel"
20 formControlName=
"name" [ngClass]=
"{ 'input-error': formErrors['name'] }"
22 <div class=
"input-group-append">
23 <span class=
"input-group-text">@{{ instanceHost }}
</span>
27 <div *
ngIf=
"formErrors.name" class=
"form-error">
31 <div *
ngIf=
"isSameThanUsername()" class=
"form-error" i18n
>
32 Channel name cannot be the same than your account name. You can click on the first step to update your account name.
36 <div class=
"form-group">
37 <label for=
"displayName" i18n
>Channel display name
</label>
39 <div class=
"input-group">
41 type=
"text" id=
"displayName"
42 formControlName=
"displayName" [ngClass]=
"{ 'input-error': formErrors['displayName'] }"
46 <div *
ngIf=
"formErrors.displayName" class=
"form-error">
47 {{ formErrors.displayName }}