Adding generic ContentItem editor and display templates

- ContentItem editor and display templates added that only render the "primary" zone, then remaining zones (ZonesAny)
- Added a UseDefaultTemplate bool to ContentItemDriver and conditionally return the default template for Display or Edit
- Updated the UserDriver to use the default templates
-

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-02-26 15:20:50 -08:00
parent a21e246e4d
commit 22e5a083bf
7 changed files with 22 additions and 16 deletions

View File

@@ -1,4 +0,0 @@
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<ContentItemViewModel<User>>" %>
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
<%@ Import Namespace="Orchard.Users.Models"%>
<% Html.ZonesAny(); %>