<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %> <%@ Import Namespace="Orchard.Mvc.Html"%> <%@ Import Namespace="Orchard.Blogs.Extensions"%> <%@ Import Namespace="Orchard.Blogs.ViewModels"%> <% Html.Include("Head"); %>

Edit Blog Post

Manage Blogs > <%=Html.Encode(Model.Blog.Name)%> > <%=Model.Title %>

<% using (Html.BeginForm()) { %> <%=Html.ValidationSummary() %> <%=Html.EditorForModel() %>
<% } %> <%foreach (var editor in Model.ItemView.Editors) { %> <%-- TODO: why is Body in editors? --%> <%-- TODO: because any content type using the body editor doesn't need to re-implement the rich editor, media extensions, format filter chain selection, etc --%> <% if (!String.Equals(editor.Prefix, "Body")) { %> <%=Html.EditorFor(m=>editor.Model, editor.TemplateName, editor.Prefix) %> <% } %> <%} %> <% Html.Include("Foot"); %>