mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-03 03:58:13 +08:00
Providing BaseViewModel.From(x) static methods to adapt properties from various context objects Adds DevTools\HomeController actions to verify results AdaptedViewModel exposes public properties or view data dictionary entries as appropriate Layout view engine restriction loosened to allow any ViewResult to be themed (not Partial of course) --HG-- branch : dev
11 lines
305 B
Plaintext
11 lines
305 B
Plaintext
<%@ Page Language="C#" Inherits="Orchard.Mvc.ViewPage<Simple>" %>
|
|
|
|
<%@ Import Namespace="Orchard.DevTools.Models" %>
|
|
<h1>
|
|
<%= H(Model.Title) %></h1>
|
|
<p>
|
|
Quantity:
|
|
<%= Model.Quantity %></p>
|
|
<div style="border: solid 1px #ccc;">
|
|
<% Html.RenderAction("_RenderableAction"); %></div>
|