mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 19:04:51 +08:00

--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4042066
24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Orchard.CmsPages.ViewModels.ChooseTemplateViewModel>" %>
|
|
<%@ Import Namespace="Orchard.CmsPages.Services.Templates"%>
|
|
<%@ Import Namespace="Orchard.Mvc.Html" %>
|
|
<% Html.Include("Head"); %>
|
|
<h2>Change Template</h2>
|
|
<p>Select your layout from one of the templates below.</p>
|
|
<% using (Html.BeginForm()) {
|
|
%><%= Html.ValidationSummary() %>
|
|
<fieldset>
|
|
<ol class="templates"><%
|
|
foreach (var template in Model.Templates) {
|
|
var t = template; %>
|
|
<li><%=
|
|
Html.EditorFor(m => t) %>
|
|
</li><%
|
|
} %>
|
|
</ol>
|
|
</fieldset>
|
|
<div>
|
|
<input class="button" type="submit" value="Save Template Change" />
|
|
<%=Html.ActionLink("Cancel", "Edit", new { Id = ViewContext.RouteData.GetRequiredString("id") }, new { @class = "cancel" })%>
|
|
</div><%
|
|
} %>
|
|
<% Html.Include("Foot"); %> |