mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-27 12:29:04 +08:00
Adding content type filter hint.
This commit is contained in:
@@ -4,5 +4,8 @@
|
||||
var currentContentType = (string)Model.ContentType;
|
||||
var listItems = contentTypes.Select(x => new SelectListItem {Text = x.DisplayName, Value = x.Name, Selected = x.Name == currentContentType});
|
||||
}
|
||||
@Html.Label("contenttype", T("Content type:").Text)
|
||||
@Html.DropDownList("contenttype", listItems, "")
|
||||
<label for="contenttype">
|
||||
@T("Content type:")
|
||||
<a href="#" title="@T("Applies to content type events only, not to content item events.")">@T("?")</a>
|
||||
</label>
|
||||
@Html.DropDownList("contenttype", listItems, "")
|
||||
Reference in New Issue
Block a user