mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Corrected Edit View in Orchard.ContentTypes
--HG-- branch : dev
This commit is contained in:
@@ -5,8 +5,7 @@
|
||||
@Html.ActionLink(T("Remove").Text, "RemoveFieldFrom", new { area = "Orchard.ContentTypes", id = Model.Part.Name, Model.Name }, new { itemprop = "RemoveUrl UnsafeUrl" }) @// <- some experimentation
|
||||
</div>
|
||||
<div class="details">
|
||||
@//todo (sebros): fix this
|
||||
@//Html.RenderTemplates(Model.Templates)
|
||||
@{Html.RenderTemplates(Model.Templates);}
|
||||
@Html.HiddenFor(m => m.Name)@Html.HiddenFor(m => m.FieldDefinition.Name)@Html.HiddenFor(m => m.Index)
|
||||
</div>
|
||||
</fieldset>
|
@@ -8,7 +8,9 @@
|
||||
@if (Model.Templates.Any()) {
|
||||
<div class="settings">
|
||||
<h4>@T("{0} Settings:", Model.PartDefinition.DisplayName)</h4>
|
||||
@DisplayChildren(Model.Templates)
|
||||
@{
|
||||
Html.RenderTemplates(Model.Templates);
|
||||
}
|
||||
</div>
|
||||
}
|
||||
@//don't show global part settings for now - @Html.DisplayFor(m => m.PartDefinition.Settings, "Settings", "PartDefinition")
|
||||
|
@@ -68,7 +68,7 @@ namespace Orchard.Setup.Services {
|
||||
"Shapes",
|
||||
"PublishLater",
|
||||
"Contents",
|
||||
//"ContentsLocation",
|
||||
"ContentsLocation",
|
||||
"Dashboard",
|
||||
"Reports",
|
||||
"Feeds",
|
||||
|
Reference in New Issue
Block a user