diff --git a/src/app/components/creator/_dialogs/content-edit/content-edit.component.html b/src/app/components/creator/_dialogs/content-edit/content-edit.component.html index 75cf97a523f9bb84a379bfddd5a28da38874c126..968b668f574e184a21e35aca0245baff1eb5982f 100644 --- a/src/app/components/creator/_dialogs/content-edit/content-edit.component.html +++ b/src/app/components/creator/_dialogs/content-edit/content-edit.component.html @@ -1,10 +1,9 @@ <div> <mat-form-field class="input-block"> - <input matInput placeholder="Thema" name="subject"/> + <input matInput [(ngModel)]="content.subject" maxlength="20" placeholder="Thema" name="subject"/> </mat-form-field> <mat-form-field class="input-block"> - <input matInput - placeholder="Inhalt" name="body"> + <input matInput [(ngModel)]="content.body" placeholder="Inhalt" name="body"> </mat-form-field> <div fxLayout="row" fxLayoutAlign="center" fxLayoutGap="10px"> <button (click)="dialogRef.close()" mat-button color="primary">