Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | 1x 1x 3x 3x 1x 3x 1x 3x 1x 1x 3x 3x 1x 3x | <ng-container *mobxAutorun>
<form class="form"
[formGroup]="webForm"
(ngSubmit)="submit()"
[appLimitWidth]="limitWidth"
[limitSibling]="true">
@if (defaults?.url || loadingDefaults.length) {
<span></span>
<div>
<span i18n>Loading defaults for <app-nav [url]="defaults?.url || ('tag:/' + loadingDefaults[0].tag)"></app-nav></span>
@if (!defaults) {
<app-loading [inline]="true"></app-loading>
}
</div>
}
<app-ref-form #refForm [group]="webForm"
(toggleTag)="bookmarks.toggleTag($event)"></app-ref-form>
@for (e of serverError; track e) {
<span><!-- Unexpected Error --></span>
<div class="error">{{ e }}</div>
}
<span><!-- Buttons --></span>
<span class="buttons right">
@if (submitting || saving) {
<app-loading [inline]="true"></app-loading>
}
@if (admin.getPlugin('plugin/editing')) {
<button type="button" [disabled]="submitting || saving || submitted || webForm.pristine" (click)="saveForLater(true)" i18n>Save for later</button>
}
<button type="submit" [disabled]="submitting || submitted && !webForm.valid" i18n>Submit</button>
</span>
</form>
</ng-container>
|