mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
- Some AntiForgeryToken work including making used of SiteSalt
- Moving all* BeginForm usage to BeginFormAntiForgeryPost *except for "complicated" BeginForms that get an AntiForgeryTokenOrchard inserted manually - Some page title cleanup (mainly in the admin) --HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4044508
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Orchard.CmsPages.ViewModels.PageCreateViewModel>" %>
|
||||
<%@ Import Namespace="Orchard.Mvc.Html" %>
|
||||
<h2>Add a Page</h2>
|
||||
<h2><%=Html.TitleForPage("Add a Page") %></h2>
|
||||
<p>Select your layout from one of the templates below.</p>
|
||||
<% using (Html.BeginFormAntiForgeryPost()) { %>
|
||||
<%=Html.ValidationSummary() %>
|
||||
|
||||
Reference in New Issue
Block a user