Skip to content
Snippets Groups Projects
Verified Commit 67120643 authored by Thomas Lenz's avatar Thomas Lenz Committed by Lukas Maximilian Kimpel
Browse files

Change subject and body field to inputs

parent bc19d5a5
No related merge requests found
......@@ -3,13 +3,19 @@
<mat-card class="input-form" fxLayoutGap="20px">
<mat-card-header>
<mat-card-title>
<h3 class="subheading-2">{{ subject }}</h3>
<h3 class="subheading-2">
<mat-form-field>
<input [(ngModel)]="subject" matInput placeholder="Subject" name="newSubject">
</mat-form-field>
</h3>
<h4>
<div>
<mat-form-field>
<input [(ngModel)]="body" matInput placeholder="Body" name="newBody">
</mat-form-field>
</div>
</h4>
</mat-card-title>
<mat-card-subtitle>
<div>
{{ body }}
</div>
</mat-card-subtitle>
</mat-card-header>
<mat-divider></mat-divider>
<mat-card-content>
......
......@@ -7,8 +7,8 @@ import { AnswerOption } from '../answer-option';
styleUrls: ['./creator-choice-content.component.scss']
})
export class CreatorChoiceContentComponent implements OnInit {
subject = 'TestSubject';
body = 'TestBody';
subject: string;
body: string;
newLabel: string;
newPoints: string;
options = [
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment