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

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Smazat položku menu
</asp:Content>

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

<h2>Smazat položku menu</h2>

<h3>Opravdu chcete smazat tuto položku menu?</h3>
<fieldset>
    <legend>Položka menu</legend>

    <div class="display-label">
        <%: Html.DisplayNameFor(model => model.title) %>
    </div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.title) %>
    </div>

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

</asp:Content>

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