mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Fixed the remove link on the content list (admin) page
--HG-- branch : dev
This commit is contained in:
@@ -9,8 +9,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="related"><%
|
<div class="related"><%
|
||||||
Html.Zone("secondary"); %>
|
Html.Zone("secondary"); %>
|
||||||
<%:Html.ItemEditLink(T("Edit").Text, Model.Item) %><%:T(" | ") %>
|
<%:Html.ItemEditLink(T("Edit").Text, Model.Item) %><%:T(" | ") %><%
|
||||||
<a href="<%:Html.AntiForgeryTokenGetUrl(Url.Action("Delete", new {id = Model.Item.Id})) %>" title="<%:T("Remove Page") %>"><%:T("Remove") %></a>
|
using (Html.BeginFormAntiForgeryPost(string.Format("{0}", Url.Action("Remove", new { area = "Contents" })), FormMethod.Post, new {@class = "inline link"})) { %>
|
||||||
|
<%:Html.Hidden("id", Model.Item.Id, new { id = "" })%>
|
||||||
|
<button type="submit"><%:T("Remove") %></button><%
|
||||||
|
} %>
|
||||||
</div>
|
</div>
|
||||||
<div style="clear:both;"></div>
|
<div style="clear:both;"></div>
|
||||||
<% Html.Zone("primary"); %>
|
<% Html.Zone("primary"); %>
|
||||||
|
|||||||
Reference in New Issue
Block a user