]>
Commit | Line | Data |
---|---|---|
1 | <form novalidate [formGroup]="form" (ngSubmit)="formValidated()"> | |
2 | <div class="form-group"> | |
3 | <input type="email" | |
4 | formControlName="text" | |
5 | class="form-control" | |
6 | (keyup.control.enter)="onValidKey()" (keyup.meta.enter)="onValidKey()" | |
7 | placeholder="jane_doe@example.com"> | |
8 | </div> | |
9 | ||
10 | <button type="submit" [disabled]="!form.valid" class="btn btn-sm btn-remote-follow" i18n> | |
11 | <span *ngIf="!interact">Remote subscribe</span> | |
12 | <span *ngIf="interact">Remote interact</span> | |
13 | </button> | |
14 | ||
15 | <my-help *ngIf="!interact && showHelp" | |
16 | helpType="custom" | |
17 | i18n-customHtml customHtml="You can subscribe to the channel via any ActivityPub-capable fediverse instance. For instance with Mastodon or Pleroma you can type the channel URL in the search box and subscribe there."> | |
18 | </my-help> | |
19 | ||
20 | <my-help *ngIf="showHelp && interact" | |
21 | helpType="custom" | |
22 | i18n-customHtml customHtml="You can interact with this via any ActivityPub-capable fediverse instance. For instance with Mastodon or Pleroma you can type the current URL in the search box and interact with it there."> | |
23 | </my-help> | |
24 | </form> |