<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <%@ Import Namespace="Orchard.Blogs.Extensions"%> <%@ Import Namespace="Orchard.Blogs.ViewModels"%>

Content

<%-- todo: (heskew) thin out the fieldsets if they become overkill --%>
<%=Html.TextBoxFor(m => m.Title, new { id = "title", @class = "large text" })%>
<%=Html.TextBoxFor(m => m.Slug, new { id = "permalink", @class = "text" })%> « How to write a permalink. »
<%-- [still needed]--%> <%=Html.TextAreaFor(m => m.Body, new { id = "body", @class = "html" })%>
<% foreach (var e in Model.ItemView.Editors) { var editor = e; // 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) %> <% } } %>

Publish Settings

<%--
<%=Html.EditorFor(m => m.Published) %>
--%>