| Rev | Line | |
|---|
| [842] | 1 | <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Wierszowki.Models.DeleteViewData>" %>
|
|---|
| [823] | 2 |
|
|---|
| 3 | <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
|---|
| 4 | Delete
|
|---|
| 5 | </asp:Content>
|
|---|
| 6 |
|
|---|
| 7 | <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
|---|
| [842] | 8 | <%
|
|---|
| 9 | RouteValueDictionary routeValues = ViewContext.RouteData.Values;
|
|---|
| 10 | routeValues.Add("powrot", Model.Info.powrot);
|
|---|
| 11 | routeValues.Add("month", Model.Info.month);
|
|---|
| 12 | routeValues.Add("year", Model.Info.year);
|
|---|
| 13 | routeValues.Add("user_id", Model.Info.user_id);
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 | using (Html.BeginForm("Delete","MagazineItem", routeValues,FormMethod.Post))
|
|---|
| [823] | 18 | { %>
|
|---|
| 19 | <h2>Czy napewno chcesz usun¹æ wierszówkê??? </h2>
|
|---|
| 20 | <div class="submit">
|
|---|
| 21 | <input type="submit" value="Usuñ" />
|
|---|
| 22 | </div>
|
|---|
| [842] | 23 | <br />
|
|---|
| 24 | <div>
|
|---|
| 25 | <%=Html.ActionLink("Powrót", "Index", "Report") %>
|
|---|
| 26 | </div>
|
|---|
| 27 | <% } %>
|
|---|
| [823] | 28 | </asp:Content>
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
Notatka: Zobacz
TracBrowser
aby uzyskać więcej informacji.