mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 10:54:50 +08:00
Porting contribution from Kevin Labranche. Fix for 17111
--HG-- branch : 1.x
This commit is contained in:
@@ -10,6 +10,7 @@ namespace Orchard.Core.Routable.ViewModels {
|
|||||||
[StringLength(1024)]
|
[StringLength(1024)]
|
||||||
public string Title { get; set; }
|
public string Title { get; set; }
|
||||||
[StringLength(1024)]
|
[StringLength(1024)]
|
||||||
|
[Required(AllowEmptyStrings = false)]
|
||||||
public string Slug { get; set; }
|
public string Slug { get; set; }
|
||||||
public int? ContainerId { get; set; }
|
public int? ContainerId { get; set; }
|
||||||
public bool PromoteToHomePage { get; set; }
|
public bool PromoteToHomePage { get; set; }
|
||||||
|
Reference in New Issue
Block a user