Skip to content

Commit

Permalink
- Select country for new member.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadyNagy committed Jul 30, 2024
1 parent 7b8b0dd commit 137e0e1
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@
<span asp-validation-for="Input!.LastName" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="Input!.Country"></label>
<input asp-for="Input!.Country" class="form-control" />
<label asp-for="Input!.Country" class="font-weight-bold"></label>
<select asp-for="Input!.Country"
asp-items="@ISO3166.Country.List.Select(i => new SelectListItem { Text = i.Name, Value = i.Name }).ToList()"
class="form-control form-control-sm">
</select>
<span asp-validation-for="Input!.Country" class="text-danger"></span>
</div>
<div class="form-group">
Expand Down

0 comments on commit 137e0e1

Please sign in to comment.