From 95089cc61d705865cedfe9bb89ca68dbfc3a4dd1 Mon Sep 17 00:00:00 2001
From: Lorenz Detterbeck <lorenz.detterbeck@gmail.com>
Date: Wed, 7 Mar 2018 13:27:15 +0100
Subject: [PATCH] Add preview Button

---
 .../content-creation.component.html           | 38 ++++++++++---------
 1 file changed, 20 insertions(+), 18 deletions(-)

diff --git a/src/app/content-creation/content-creation.component.html b/src/app/content-creation/content-creation.component.html
index d41687930..880fbe258 100644
--- a/src/app/content-creation/content-creation.component.html
+++ b/src/app/content-creation/content-creation.component.html
@@ -3,30 +3,32 @@
     </mat-form-field>
 
     <p></p>
-    
+
     <mat-form-field>
       <textarea matInput placeholder="Place your text here" matTextareaAutosize matAutosizeMinRows="3" matAutosizeMaxRows="8"></textarea>
     </mat-form-field>
 
-    <mat-selection-list #answeroption >
-      <mat-list-option>
-        <mat-form-field>
-          <input matInput placeholder="Answer 1">
-        </mat-form-field>
-      </mat-list-option>
+    <mat-list #answeroption >
+      <mat-form-field>
+        <input matInput placeholder="Answer 1">
+      </mat-form-field>
+      <mat-checkbox></mat-checkbox>
+      <p></p>
 
-      <mat-list-option>
-          <mat-form-field>
-              <input matInput placeholder="Answer 2">
-            </mat-form-field>
-      </mat-list-option>
+      <mat-form-field>
+        <input matInput placeholder="Answer 2">
+      </mat-form-field>
+      <mat-checkbox></mat-checkbox>
+      <p></p>
 
-      <mat-list-option>
-          <mat-form-field>
-              <input matInput placeholder="Answer 3">
-            </mat-form-field>
-      </mat-list-option>
-    </mat-selection-list>
+      <mat-form-field>
+        <input matInput placeholder="Answer 3">
+      </mat-form-field>
+      <mat-checkbox></mat-checkbox>
+      <p></p>
+    </mat-list>
 
+    <p></p>
+    <button mat-raised-button="Preview">Preview</button>
     <!-- TODO: Save answers to array in a class. Show answers in a matlist -->
 
-- 
GitLab