- Blogs: Add comment/tag editors.

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4042872
This commit is contained in:
suhacan
2009-12-01 23:53:28 +00:00
parent caf8009d4a
commit afad28b2ad
7 changed files with 120 additions and 2 deletions

View File

@@ -10,4 +10,10 @@
<%=Html.EditorForModel() %>
<fieldset><input class="button" type="submit" value="Save" /></fieldset>
<% } %>
<%foreach (var editor in Model.Editors) { %>
<%-- TODO: why is Body in editors? --%>
<% if (!String.Equals(editor.Prefix, "Body")) { %>
<%=Html.EditorFor(m=>editor.Model, editor.TemplateName, editor.Prefix) %>
<% } %>
<%} %>
<% Html.Include("Foot"); %>