2 <div class=
"modal-header">
3 <h4 i18n
class=
"modal-title">Follow
</h4>
5 <my-global-icon iconName=
"cross" aria-label=
"Close" role=
"button" (click)=
"hide()"></my-global-icon>
8 <div class=
"modal-body">
9 <form novalidate [formGroup]=
"form" (ngSubmit)=
"submit()">
10 <div class=
"form-group">
11 <label i18n
for=
"hostsOrHandles">1 host (without
"http://"), account handle or channel handle per line
</label>
14 [placeholder]=
"placeholder" formControlName=
"hostsOrHandles" type=
"text" id=
"hostsOrHandles" name=
"hostsOrHandles"
15 class=
"form-control" [ngClass]=
"{ 'input-error': formErrors['hostsOrHandles'] }" ngbAutofocus
18 <div *
ngIf=
"formErrors.hostsOrHandles" class=
"form-error">
19 {{ formErrors.hostsOrHandles }}
21 <div *
ngIf=
"form.controls['hostsOrHandles'].errors.validHostsOrHandles">
22 {{ form.controls['hostsOrHandles'].errors.validHostsOrHandles.value }}
27 <div i18n *
ngIf=
"httpEnabled() === false" class=
"alert alert-warning">
28 It seems that you are not on a HTTPS server. Your webserver needs to have TLS activated in order to follow servers.
31 <div class=
"form-group inputs">
33 type=
"button" role=
"button" i18n-value
value=
"Cancel" class=
"peertube-button grey-button"
34 (click)=
"hide()" (key.enter)=
"hide()"
37 <input type=
"submit" i18n-value
value=
"Follow" class=
"peertube-button orange-button" [disabled]=
"!form.valid" />