20 lines
783 B
HTML
20 lines
783 B
HTML
<form novalidate>
|
|
<fieldset [formGroup]="editorForm" [disabled]="working" *ngIf="editorForm">
|
|
<button type="button" class="close" [attr.aria-label]="'general.closeWithoutSaving' | translate" (click)="close()">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
|
|
<div class="content">
|
|
<h4 class="mb-3">{{ title }}</h4>
|
|
|
|
<p class="my-2">{{ prompt }}</p>
|
|
|
|
<input type="text" class="form-control" id="value" formControlName="value" [placeholder]="placeholder" [appAutofocus]="true" [appAutofocusDelay]="600">
|
|
|
|
<div class="d-flex justify-content-end align-items-center mt-5">
|
|
<button class="btn btn-info" (click)="saveChanges()" [disabled]="editorForm.invalid">{{ saveButtonText }}</button>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
</form>
|