@using CD67.FicheCollege.MVC.Models
@model RestaurationTypeViewModel

@{
    ViewBag.Title = "Suppression";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
    RestaurationType type = Model.Obj;
}

<h2>Suppression</h2>

<h3>Voulez-vous vraiment supprimer cet élément?</h3>
<div>
    <h4>Type de restauration</h4>
    <hr />
    <dl class="dl-horizontal">
        <dt>
            @Html.DisplayNameFor(model => type.Libelle)
        </dt>

        <dd>
            @Html.DisplayFor(model => type.Libelle)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => type.Valid)
        </dt>

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

    </dl>

    @using (Html.BeginForm()) {
        @Html.AntiForgeryToken()

        <div class="form-actions no-color">
            <input type="submit" value="Supprimer" class="btn btn-default" /> |
            @Html.ActionLink("Retour à la liste", "Index")
        </div>
    }
</div>
