mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-11-28 17:32:44 +08:00
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4043002
47 lines
1.7 KiB
Plaintext
47 lines
1.7 KiB
Plaintext
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<PageEditViewModel>" %>
|
|
|
|
<%@ Import Namespace="Orchard.Sandbox.ViewModels" %>
|
|
<%@ Import Namespace="Orchard.Mvc.Html" %>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>TwoColumns</title>
|
|
<link href="<%=ResolveUrl("~/Content/Site2.css") %>" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="header">
|
|
<div id="innerheader">
|
|
<% Html.Include("header"); %>
|
|
</div>
|
|
</div>
|
|
<div id="page">
|
|
<div id="sideBar">
|
|
<% Html.Include("Navigation"); %>
|
|
</div>
|
|
<div id="main">
|
|
<% Html.RenderPartial("Messages", Model.Messages); %>
|
|
<h3>
|
|
Edit Page</h3>
|
|
<%using (Html.BeginForm()) { %>
|
|
<ul>
|
|
<%=Html.EditorFor(m => m.ItemView, Model.ItemView.TemplateName, Model.ItemView.Prefix ?? "")%>
|
|
|
|
<li><input type="submit" name="submit" value="Save" /></li>
|
|
|
|
<%-- <li>
|
|
<%=Html.LabelFor(x => x.Page.Record.Name)%><%=Html.EditorFor(x => x.Page.Record.Name)%></li>
|
|
<%foreach (var x in Model.ItemView.Editors) { %>
|
|
<%=Html.EditorFor(m=>x.Model, x.TemplateName, x.Prefix) %>
|
|
<%} %>
|
|
<li>
|
|
<input type="submit" name="submit" value="Save" /></li>--%>
|
|
</ul>
|
|
<%} %>
|
|
</div>
|
|
<div id="footer">
|
|
<% Html.Include("footer"); %>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|