@model dynamic @{ Layout = null; } @{ string previewUrl = (string)ViewBag.PreviewUrl; if (!previewUrl.HasValue()) { previewUrl = Url.RouteUrl("HomePage"); } var themes = (IList)ViewBag.Themes; var stores = (IList)ViewBag.Stores; var disableApply = (bool)ViewBag.DisableApply; var toolOpen = (bool)ViewBag.ToolOpen; }
@using (Html.BeginForm("PreviewTool", "Theme", new { area = "admin" }, FormMethod.Post)) {

@T("Admin.Configuration.Themes.PreviewMode")

@Html.DropDownList("theme", themes, new { @class = "noskin" }) @Html.DropDownList("storeId", stores, new { @class = "noskin" }) @Html.Hidden("returnUrl", Request.RawUrl)
}