Fixes the blog post removal
This commit is contained in:
parent
9fc7f82531
commit
a4d2e1b6da
5 changed files with 16 additions and 10 deletions
|
|
@ -9,20 +9,22 @@
|
|||
</asp:Content>
|
||||
|
||||
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
||||
<form runat="server">
|
||||
|
||||
<%= Html.ValidationSummary() %>
|
||||
<% using (Html.BeginForm("Remove","Blogs")) { %>
|
||||
suivant :
|
||||
<%= Html.LabelFor(model => model.Title) %>:<br/>
|
||||
<% using (Html.BeginForm("RemovePost","Blogs")) { %>
|
||||
|
||||
<%= Html.LabelFor(model => model.Title) %> :
|
||||
<%= Html.TextBox( "Title" ) %>
|
||||
<%= Html.ValidationMessage("Title", "*") %>
|
||||
<%= Html.ValidationMessage("Title", "*") %><br/>
|
||||
|
||||
<label for="confirm">supprimer le billet</label>
|
||||
<input type="checkbox" name="confirm" />
|
||||
<%= Html.CheckBox( "confirm" ) %>
|
||||
<%= Html.ValidationMessage("AgreeToRemove", "*") %>
|
||||
|
||||
<%= Html.Hidden("returnUrl") %>
|
||||
<input type="submit"/>
|
||||
<% } %>
|
||||
</form>
|
||||
|
||||
</asp:Content>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue