@page
@model RazorSportAreas.Areas.Beheer.Pages.CreateModel

@{
    ViewData["Title"] = "Create";
}

<h1>Create</h1>

<h4>Atleet</h4>
<hr />
<div class="row">
    <div class="col-md-4">
        <form method="post">
            <div asp-validation-summary="ModelOnly" class="text-danger"></div>
            <div class="form-group">
                <label asp-for="Atleet.Naam" class="control-label"></label>
                <input asp-for="Atleet.Naam" class="form-control" />
                <span asp-validation-for="Atleet.Naam" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="Atleet.Geboortedatum" class="control-label"></label>
                <input asp-for="Atleet.Geboortedatum" class="form-control" />
                <span asp-validation-for="Atleet.Geboortedatum" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="Atleet.Nationaliteit" class="control-label"></label>
                <input asp-for="Atleet.Nationaliteit" class="form-control" />
                <span asp-validation-for="Atleet.Nationaliteit" class="text-danger"></span>
            </div>
            <div class="form-group">
                <input type="submit" value="Create" class="btn btn-primary" />
            </div>
        </form>
    </div>
</div>

<div>
    <a asp-page="Index">Back to List</a>
</div>

