hades/client/app/game-detail/game-detail.component.html

9 lines
411 B
HTML

<h1 class="center">{{gameName}}</h1>
<div class="container" *ngIf="game">
<form (ngSubmit)="createGame()">
<app-input label="Nom du serveur" name="nickname" [(ngModel)]="form.nickname"></app-input>
<app-input *ngFor="let variable of game.vars" [label]="variable.label" [name]="variable.name" [(ngModel)]="form.vars[variable.name]"></app-input>
<app-button></app-button>
</form>
</div>