Add url for platforms

This commit is contained in:
Maxime Adler
2025-04-14 14:58:23 +02:00
parent 63af58f5bb
commit b16d997417
3 changed files with 11 additions and 4 deletions

View File

@@ -56,6 +56,14 @@
Items="Categories?.Platforms" @bind-Values=GameDto.Platforms
AddItem="@(str => new PlatformDto() { Label = str })" />
</div>
@foreach (var platform in GameDto.Platforms ?? [])
{
<div class="input-game">
<div class="label">@platform.Label :</div>
<input type="text" class="url" @bind=platform.Url>
</div>
}
</div>
</div>
<div class="description-container">