Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

24 строки
1.0 KiB

  1. <h2 *ngIf="!taskNote.id">{{ 'basic.new-task-note' | translate }}</h2>
  2. <h2 *ngIf="taskNote.id">{{ 'basic.edit-task-note' | translate }}</h2>
  3. <div class="spt-form">
  4. <form [formGroup]="taskNoteForm" (ngSubmit)="onSubmit()">
  5. <div class="mb-3">
  6. <label for="message" class="form-label">{{ 'form.comment' | translate }}:</label>
  7. <textarea class="form-control" id="message" formControlName="message" cols="50" rows="5"></textarea>
  8. </div>
  9. <div class="mb-3">
  10. <label for="contactType" class="form-label">{{ 'form.contactType' | translate }}:</label>
  11. <select class="form-control" id="contactType" formControlName="contactType">
  12. <option *ngFor="let type of contactTypes" [value]="type">
  13. {{ getTranslationKey(type) | translate }}
  14. </option>
  15. </select>
  16. </div>
  17. <button type="submit" class="btn btn-primary" [disabled]="taskNoteForm.invalid">{{ 'form.send' | translate }}
  18. </button>
  19. </form>
  20. </div>