Add singleplayer checkbox to add/edit forms

dashboard
Pat Hartl 2023-01-14 18:21:49 -06:00
parent 4bcad9b76b
commit 11f75b02f7
2 changed files with 14 additions and 0 deletions

View File

@ -50,6 +50,13 @@
<input asp-for="Game.ReleasedOn" class="form-control" /> <input asp-for="Game.ReleasedOn" class="form-control" />
<span asp-validation-for="Game.ReleasedOn" class="text-danger"></span> <span asp-validation-for="Game.ReleasedOn" class="text-danger"></span>
</div> </div>
<div class="mb-3">
<label class="form-check">
<input asp-for="Game.Singleplayer" type="checkbox" class="form-check-input" />
<span class="form-check-label">Singleplayer</span>
<span class="form-check-description">Game has a singleplayer mode</span>
</label>
</div>
<div class="mb-3"> <div class="mb-3">
<label asp-for="Developers" class="control-label"></label> <label asp-for="Developers" class="control-label"></label>
<input type="text" class="developer-select" /> <input type="text" class="developer-select" />

View File

@ -52,6 +52,13 @@
<input asp-for="Game.ReleasedOn" class="form-control" /> <input asp-for="Game.ReleasedOn" class="form-control" />
<span asp-validation-for="Game.ReleasedOn" class="text-danger"></span> <span asp-validation-for="Game.ReleasedOn" class="text-danger"></span>
</div> </div>
<div class="mb-3">
<label class="form-check">
<input asp-for="Game.Singleplayer" type="checkbox" class="form-check-input" />
<span class="form-check-label">Singleplayer</span>
<span class="form-check-description">Game has a singleplayer mode</span>
</label>
</div>
<div class="mb-3"> <div class="mb-3">
<label asp-for="Developers" class="control-label"></label> <label asp-for="Developers" class="control-label"></label>
<input type="text" class="developer-select" /> <input type="text" class="developer-select" />