<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.master" Inherits="System.Web.Mvc.ViewPage<FotbalPortal.Models.Category>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Smazat kategorii
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<h2>Smazat kategorii</h2>

<h3>Opravdu chcete smazat tuto kategorii?</h3>
<fieldset>
    <legend>Kategorie</legend>

    <div class="display-label">
        <%: Html.DisplayNameFor(model => model.parent.id) %>
    </div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.parent.id) %>
    </div>
</fieldset>
<% using (Html.BeginForm()) { %>
    <%: Html.AntiForgeryToken() %>
    <p>
        <input type="submit" value="Smazat" /> |
        <%: Html.ActionLink("Zpět", "Index") %>
    </p>
<% } %>

</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="ScriptsSection" runat="server">
</asp:Content>
