mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
A couple of bug fixes to the Wiki pages UI
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4041470
This commit is contained in:
@@ -25,6 +25,9 @@
|
||||
<ul>
|
||||
<li>
|
||||
<%=Html.LabelFor(x => x.Page.Record.Name)%><%=Html.EditorFor(x => x.Page.Record.Name)%></li>
|
||||
<%foreach (var x in Model.Editors) { %>
|
||||
<%=Html.EditorFor(m=>x.Model, x.TemplateName, x.Prefix) %>
|
||||
<%} %>
|
||||
<li>
|
||||
<input type="submit" name="submit" value="Save" /></li>
|
||||
</ul>
|
||||
|
@@ -27,7 +27,7 @@
|
||||
<ul>
|
||||
<li><%=Html.ActionLink("Create new page", "create") %></li>
|
||||
<%foreach(var item in Model.Pages.OrderBy(x=>x.Record.Name)){%>
|
||||
<li><%=Html.ActionLink(item.Record.Name, "show", new { item.ContentItem.Id }, new{})%></li>
|
||||
<li><%=Html.ActionLink(item.Record.Name??"(no name)", "show", new { item.ContentItem.Id }, new{})%></li>
|
||||
<%}%>
|
||||
</ul>
|
||||
|
||||
|
Reference in New Issue
Block a user