diff --git a/src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/EditProfile.cshtml b/src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/EditProfile.cshtml index d1e8f2bf48..6d3c11b30a 100644 --- a/src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/EditProfile.cshtml +++ b/src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/EditProfile.cshtml @@ -3,7 +3,6 @@ @using System.Web.Mvc.Html @using ClientDependency.Core.Mvc @using Umbraco.Web -@using Umbraco.Web.Models @using Umbraco.Web.Controllers @{ @@ -16,7 +15,6 @@ Html.RequiresJs("/umbraco_client/Application/JQuery/jquery.validate.unobtrusive.min.js"); var success = TempData["ProfileUpdateSuccess"] != null; - } @*NOTE: This RenderJsHere code should be put on your main template page where the rest of your script tags are placed*@ @@ -26,7 +24,7 @@ { if (success) { - // This message will show if RedirectOnSucces is set to false (default) + @* This message will show if RedirectOnSucces is set to false (default) *@
Profile updated
} diff --git a/src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/ListChildPagesOrderedByDate.cshtml b/src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/ListChildPagesOrderedByDate.cshtml index 136578c16c..b189ffb5a9 100644 --- a/src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/ListChildPagesOrderedByDate.cshtml +++ b/src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/ListChildPagesOrderedByDate.cshtml @@ -1,7 +1,7 @@ @inherits Umbraco.Web.Macros.PartialViewMacroPageRegistration succeeeded.
-} -else -{ +} +else +{ using (Html.BeginUmbracoForm