]>
git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/videos/+video-watch/comment/video-comment-add.component.html
1 <form novalidate [formGroup]=
"form" (ngSubmit)=
"formValidated()">
2 <div class=
"form-group">
3 <textarea placeholder=
"Add comment..." formControlName=
"text" [ngClass]=
"{ 'input-error': formErrors['text'] }" #textarea
>
5 <div *
ngIf=
"formErrors.text" class=
"form-error">
10 <div class=
"submit-comment">
11 <button *
ngIf=
"isAddButtonDisplayed()" [ngClass]=
"{ disabled: !form.valid }">