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

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

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <% 
    RouteValueDictionary routeValues = ViewContext.RouteData.Values;
    routeValues.Add("powrot", Model.Info.powrot);
    routeValues.Add("month", Model.Info.month);
    routeValues.Add("year", Model.Info.year);
    routeValues.Add("user_id", Model.Info.user_id);
        
    
           
    using (Html.BeginForm("Delete","MagazineItem", routeValues,FormMethod.Post))
    { %>
        <h2>Czy napewno chcesz usunąć wierszówkę??? </h2>
        <div class="submit">                
            <input type="submit" value="Usuń" />                
        </div>
        <br />
        <div>
            <%=Html.ActionLink("Powrót", "Index", "Report") %>
        </div>
 <% } %>  
</asp:Content>


