Created
September 24, 2020 17:04
-
-
Save ktechmidas/6c6c98f45e536e8614f66e7bed68e0ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ng-template #content let-modal> | |
<div class="modal-header"> | |
<h4 class="modal-title" id="modal-basic-title">{{title}}</h4> | |
<button type="button" class="close" aria-label="Close" (click)="modal.dismiss('Cross click')"> | |
<span aria-hidden="true">×</span> | |
</button> | |
</div> | |
<div class="modal-body"> | |
<form name="formData"> | |
<div class="form-group"> | |
<label for="name">Name</label> | |
<div class="input-group"> | |
<input [(ngModel)]="user.name" name="name" id="name" class="form-control" type="text"> | |
</div> | |
<label for="email">Email</label> | |
<div class="input-group"> | |
<input [(ngModel)]="user.email" name="email" id="email" class="form-control" type="email"> | |
</div> | |
<label for="room">Room</label> | |
<div class="input-group"> | |
<input [(ngModel)]="user.room" name="room" id="room" class="form-control" type="text"> | |
</div> | |
<button type="button" class="btn btn-outline-dark" (click)="onLogin()">Create!</button> | |
</div> | |
</form> | |
</div> | |
<div class="modal-footer"> | |
</div> | |
</ng-template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment