mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-24 19:08:18 +08:00
Corrected Edit View in Orchard.ContentTypes
--HG-- branch : dev
This commit is contained in:
parent
c884c39019
commit
3cbb532327
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user