mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-11-28 17:32:44 +08:00
- 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
7 lines
344 B
Plaintext
7 lines
344 B
Plaintext
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Orchard.CmsPages.ViewModels.PageCreateViewModel>" %>
|
|
<h2><%=Html.TitleForPage("Add a Page") %></h2>
|
|
<p>Select your layout from one of the templates below.</p>
|
|
<% using (Html.BeginFormAntiForgeryPost()) { %>
|
|
<%=Html.ValidationSummary() %>
|
|
<%=Html.EditorForModel() %>
|
|
<% } %> |