Files
Orchard/src/Orchard.Web/Modules/Orchard.Experimental/Views/Commands/Execute.cshtml
Louis DeJardin 7e9c27433b Updating experimental templates for name change
--HG--
branch : dev
2010-11-08 15:31:25 -08:00

22 lines
713 B
Plaintext

@model Orchard.Experimental.ViewModels.CommandsExecuteViewModel
<h1>
@Html.TitleForPage(T("Command line").ToString())
</h1>
<div>
@using (Html.BeginFormAntiForgeryPost(Url.Action("Execute"))) {
@Html.ValidationSummary()
<ul>
@for (int index = 0; index != (Model.History ?? new string[0]).Length; ++index) {
<li>
@Model.History[index]
@Html.HiddenFor(m => m.History[index])
</li>
}
</ul>
@Html.LabelFor(m => m.CommandLine, T("Command Line"))
@Html.TextBoxFor(m => m.CommandLine, new { style = "width:100%;" })
@Html.ValidationMessageFor(m => m.CommandLine)
<pre>@Model.Results</pre>
}
</div>