Fixing up the rest of blog create with the new templating (thanks to help from Louis). :)

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4043561
This commit is contained in:
ErikPorter
2009-12-09 08:52:35 +00:00
parent 36c63bc4db
commit 759121577b
2 changed files with 21 additions and 16 deletions

View File

@@ -1,4 +1,3 @@
using System.ComponentModel.DataAnnotations;
using Orchard.Blogs.Models;
using Orchard.Models.ViewModels;
using Orchard.Mvc.ViewModels;
@@ -6,17 +5,5 @@ using Orchard.Mvc.ViewModels;
namespace Orchard.Blogs.ViewModels {
public class CreateBlogViewModel : AdminViewModel {
public ItemEditorViewModel<Blog> Blog { get; set; }
//[Required]
//public string Name { get; set; }
////TODO: (erikpo) Need a data type for slug
//[Required]
//public string Slug { get; set; }
//public string Description { get; set; }
//[Required]
//public bool Enabled { get; set; }
}
}