@model ResoursesManager.Models.Reservation

@{
    ViewBag.Title = "Törlés";
}

<h2>Foglalás</h2>


<div>
    <h4>Foglalás törlése</h4>
    <hr />
    <dl class="dl-horizontal">
        <dt>
            @Html.DisplayNameFor(model => model.Begining)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Begining)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.End)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.End)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.User)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.User)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.Resource.Name)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Resource.Name)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.Resource.AssetTag)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Resource.AssetTag)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.Resource.Description)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Resource.Description)
        </dd>
    </dl>
    <h3>Biztos vagy benne hogy törölni szeretnéd?</h3>
    @using (Html.BeginForm()) {
        @Html.AntiForgeryToken()

        <div class="form-actions no-color">
            <input type="submit" value="Törlés" class="btn btn-danger" />
            <a href="javascript:void(0);" onclick="history.go(-1);" class="btn btn-default">Vissza</a>
        </div>
    }
</div>
