From 10f46dadf75a9813ee924d71f7d8dfa4cd5ec1f8 Mon Sep 17 00:00:00 2001 From: Nathan Heskew Date: Fri, 25 Mar 2011 10:30:06 -0700 Subject: [PATCH] Adding a pipe ('|') in between action links on available themes. --HG-- branch : dev --- src/Orchard.Web/Modules/Orchard.Themes/Views/ThemeEntry.cshtml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Orchard.Web/Modules/Orchard.Themes/Views/ThemeEntry.cshtml b/src/Orchard.Web/Modules/Orchard.Themes/Views/ThemeEntry.cshtml index b79c85cad..f33e0d8a5 100644 --- a/src/Orchard.Web/Modules/Orchard.Themes/Views/ThemeEntry.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Themes/Views/ThemeEntry.cshtml @@ -49,6 +49,7 @@ } @if (Model.ContentPart.NeedsUpdate) { + | using (Html.BeginFormAntiForgeryPost(Url.Action("Update"), FormMethod.Post, new { @class = "inline link" })) { @Html.Hidden("themeName", (string)Model.ContentPart.Descriptor.Id)
@@ -56,6 +57,7 @@ } @if (Model.ContentPart.CanUninstall) { + | using (Html.BeginFormAntiForgeryPost(Url.Action("RemoveTheme", "PackagingServices", new { area = "Orchard.Packaging", returnUrl = HttpContext.Current.Request.RawUrl, retryUrl = HttpContext.Current.Request.RawUrl, themeId = Model.ContentPart.Descriptor.Id }), FormMethod.Post, new { @class = "inline link" })) { }