mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-19 01:57:55 +08:00
Merge
--HG-- branch : dev
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<p class="breadcrumb"><%:Html.ActionLink(T("Content Types").Text, "index") %><%:T(" > ") %><%:T("Edit Content Type") %></p><%
|
<p class="breadcrumb"><%:Html.ActionLink(T("Content Types").Text, "index") %><%:T(" > ") %><%:T("Edit Content Type") %></p><%
|
||||||
using (Html.BeginFormAntiForgeryPost()) { %>
|
using (Html.BeginFormAntiForgeryPost()) { %>
|
||||||
<%--// todo: come up with real itemtype definitions and locations for said definitions--%>
|
<%--// todo: come up with real itemtype definitions and locations for said definitions--%>
|
||||||
<div itemscope itemid="<%:Model.Name %>" itemtype="http://orchardproject.net/data/ContentType"><%:Html.ValidationSummary() %>
|
<div itemscope="itemscope" itemid="<%:Model.Name %>" itemtype="http://orchardproject.net/data/ContentType"><%:Html.ValidationSummary() %>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<label for="DisplayName"><%:T("Display Name") %></label>
|
<label for="DisplayName"><%:T("Display Name") %></label>
|
||||||
<%:Html.TextBoxFor(m => m.DisplayName, new { @class = "textMedium" })%>
|
<%:Html.TextBoxFor(m => m.DisplayName, new { @class = "textMedium" })%>
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<Orchard.ContentTypes.ViewModels.EditTypePartViewModel>" %>
|
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<Orchard.ContentTypes.ViewModels.EditTypePartViewModel>" %>
|
||||||
<fieldset class="manage-part" itemscope itemid="<%:Model.PartDefinition.Name %>" itemtype="http://orchardproject.net/data/ContentTypePart">
|
<fieldset class="manage-part" itemscope="itemscope" itemid="<%:Model.PartDefinition.Name %>" itemtype="http://orchardproject.net/data/ContentTypePart">
|
||||||
<h3 itemprop="Name"><%:Model.PartDefinition.Name %></h3>
|
<h3 itemprop="Name"><%:Model.PartDefinition.Name %></h3>
|
||||||
<div class="manage">
|
<div class="manage">
|
||||||
<%:Html.ActionLink(T("Remove").Text, "RemovePartFrom", new { area = "Orchard.ContentTypes", id = Model.Type.Name, Model.PartDefinition.Name }, new { itemprop = "RemoveUrl UnsafeUrl" })%><%--// <- some experimentation--%>
|
<%:Html.ActionLink(T("Remove").Text, "RemovePartFrom", new { area = "Orchard.ContentTypes", id = Model.Type.Name, Model.PartDefinition.Name }, new { itemprop = "RemoveUrl UnsafeUrl" })%><%--// <- some experimentation--%>
|
||||||
|
Reference in New Issue
Block a user