From 8eb22f40fb4f7ee44b378108e94e87568fa0c40c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Mau=C3=9F?= <lukas.mauss@mni.thm.de> Date: Fri, 9 Mar 2018 15:36:09 +0100 Subject: [PATCH] Wrap the room creation form into a form element --- src/app/room-creation/room-creation.component.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/room-creation/room-creation.component.html b/src/app/room-creation/room-creation.component.html index 35313ed52..c4c5a9cd1 100644 --- a/src/app/room-creation/room-creation.component.html +++ b/src/app/room-creation/room-creation.component.html @@ -1,3 +1,4 @@ +<form> <div fxLayout="column" fxLayoutAlign="center" fxLayoutGap="10px"> <mat-form-field> <input matInput #longRoomName class="input-block" type="text" placeholder="Name" maxlength="50" @@ -21,3 +22,4 @@ <button mat-raised-button color="primary" (click)="addRoom(longRoomName.value, shortRoomName.value)">Create room </button> </div> +</form> -- GitLab