* Web.config: Trace may be enabled, as long it is in local mode
* Web.csproj: * RemoveTitle.aspx: Removes all posts related to a given title * RemovePost.aspx: Removes a single billvnext
parent
da90e2cb10
commit
bfb3e7d973
@ -0,0 +1,22 @@
|
||||
<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage<BlogEntryCollection>" MasterPageFile="~/Models/App.master" %>
|
||||
|
||||
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
||||
|
||||
<%= Html.ValidationSummary() %>
|
||||
<% using (Html.BeginForm("RemoveTitle","Blogs")) { %>
|
||||
|
||||
<%= Html.LabelFor(model => model.Title) %> :
|
||||
<%= Html.TextBox( "Title" ) %>
|
||||
<%= Html.ValidationMessage("Title", "*") %><br/>
|
||||
<%= Html.Hidden("UserName") %>
|
||||
<label for="confirm">supprimer le billet</label>
|
||||
<%= Html.CheckBox( "confirm" ) %>
|
||||
<%= Html.ValidationMessage("AgreeToRemove", "*") %>
|
||||
|
||||
<%= Html.Hidden("returnUrl") %>
|
||||
<input type="submit"/>
|
||||
<% } %>
|
||||
|
||||
</asp:Content>
|
||||
|
||||
|
Loading…
Reference in New Issue