@page
@model RazorPages.Pages.Climbs.DetailsModel

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

<h1>Details</h1>

<div>
    <h4>Climb</h4>
    <hr />
    <dl class="row">
        <dt class="col-sm-2">
            @Html.DisplayNameFor(model => model.Climb.Name)
        </dt>
        <dd class="col-sm-10">
            @Html.DisplayFor(model => model.Climb.Name)
        </dd>
        <dt class="col-sm-2">
            @Html.DisplayNameFor(model => model.Climb.Grade)
        </dt>
        <dd class="col-sm-10">
            @Html.DisplayFor(model => model.Climb.Grade)
        </dd>
        <dt class="col-sm-2">
            @Html.DisplayNameFor(model => model.Climb.Location)
        </dt>
        <dd class="col-sm-10">
            @Html.DisplayFor(model => model.Climb.Location)
        </dd>
        <dt class="col-sm-2">
            @Html.DisplayNameFor(model => model.Climb.Description)
        </dt>
        <dd class="col-sm-10">
            @Html.DisplayFor(model => model.Climb.Description)
        </dd>
    </dl>
</div>
<div>
    <a asp-page="./Edit" asp-route-id="@Model.Climb.Id">Edit</a> |
    <a asp-page="./Index">Back to List</a>
</div>
