diff --git a/src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts/Routable.RoutePart.cshtml b/src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts/Routable.RoutePart.cshtml index b5e419a52..528cb1e22 100644 --- a/src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts/Routable.RoutePart.cshtml +++ b/src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts/Routable.RoutePart.cshtml @@ -1,6 +1,6 @@ @model Orchard.Core.Routable.ViewModels.RoutableEditorViewModel @using Orchard.Utility.Extensions -@Script.Require("Slugify"); +@{ Script.Require("Slugify"); }
@Html.LabelFor(m => m.Title) diff --git a/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/AddFieldTo.cshtml b/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/AddFieldTo.cshtml index 25b3b4012..f71dffd64 100644 --- a/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/AddFieldTo.cshtml +++ b/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/AddFieldTo.cshtml @@ -1,5 +1,5 @@ @model Orchard.ContentTypes.ViewModels.AddFieldViewModel -@Style.Require("ContentTypesAdmin"); +@{ Style.Require("ContentTypesAdmin"); }

@Html.TitleForPage(T("Add New Field To \"{0}\"", Model.Part.DisplayName).ToString())

@using (Html.BeginFormAntiForgeryPost()) { @Html.ValidationSummary()
diff --git a/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/AddPartsTo.cshtml b/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/AddPartsTo.cshtml index 604d99613..e2335d8bb 100644 --- a/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/AddPartsTo.cshtml +++ b/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/AddPartsTo.cshtml @@ -1,5 +1,5 @@ @model Orchard.ContentTypes.ViewModels.AddPartsViewModel -@Style.Require("ContentTypesAdmin"); +@{ Style.Require("ContentTypesAdmin"); }

@Html.TitleForPage(T("Add Parts To \"{0}\"", Model.Type.DisplayName).ToString())

@using (Html.BeginFormAntiForgeryPost()) { @Html.ValidationSummary()
diff --git a/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/Edit.cshtml b/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/Edit.cshtml index d37949cd0..0b4eb51c9 100644 --- a/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/Edit.cshtml +++ b/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/Edit.cshtml @@ -1,5 +1,5 @@ @model Orchard.ContentTypes.ViewModels.EditTypeViewModel -@Style.Require("ContentTypesAdmin"); +@{ Style.Require("ContentTypesAdmin"); }

@Html.TitleForPage(T("Edit Content Type").ToString())

@using (Html.BeginFormAntiForgeryPost()) { diff --git a/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/List.cshtml b/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/List.cshtml index 89adcb7ca..a130f4d58 100644 --- a/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/List.cshtml +++ b/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/List.cshtml @@ -1,5 +1,5 @@ @model Orchard.ContentTypes.ViewModels.ListContentTypesViewModel -@Style.Require("ContentTypesAdmin"); +@{ Style.Require("ContentTypesAdmin"); }

@Html.TitleForPage(T("Manage Content Types").ToString())

@Html.ActionLink(T("Create new type").ToString(), "Create", new{Controller="Admin",Area="Orchard.ContentTypes"}, new { @class = "button primaryAction" }) diff --git a/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/RemoveFieldFrom.cshtml b/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/RemoveFieldFrom.cshtml index 95a838523..9f98a24f8 100644 --- a/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/RemoveFieldFrom.cshtml +++ b/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/RemoveFieldFrom.cshtml @@ -1,5 +1,5 @@ @model Orchard.ContentTypes.ViewModels.RemoveFieldViewModel -@Style.Require("ContentTypesAdmin"); +@{ Style.Require("ContentTypesAdmin"); }

@Html.TitleForPage(T("Remove the \"{0}\" part from \"{1}\"", Model.Name, Model.Part.DisplayName).ToString())

@using (Html.BeginFormAntiForgeryPost()) {

@T("Looks like you couldn't use the fancy way to remove the field. Try hitting the button below to force the issue.")

diff --git a/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/RemovePartFrom.cshtml b/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/RemovePartFrom.cshtml index 0d0908587..91e45c975 100644 --- a/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/RemovePartFrom.cshtml +++ b/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/RemovePartFrom.cshtml @@ -1,5 +1,5 @@ @model Orchard.ContentTypes.ViewModels.RemovePartViewModel -@Style.Require("ContentTypesAdmin"); +@{ Style.Require("ContentTypesAdmin"); }

@Html.TitleForPage(T("Remove the \"{0}\" part from \"{1}\"", Model.Name, Model.Type.DisplayName).ToString())

@using (Html.BeginFormAntiForgeryPost()) {

@T("Looks like you couldn't use the fancy way to remove the part. Try hitting the button below to force the issue.")

diff --git a/src/Orchard.Web/Modules/Orchard.Indexing/Views/Admin/Index.cshtml b/src/Orchard.Web/Modules/Orchard.Indexing/Views/Admin/Index.cshtml index 31c4971d0..21272c6f5 100644 --- a/src/Orchard.Web/Modules/Orchard.Indexing/Views/Admin/Index.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Indexing/Views/Admin/Index.cshtml @@ -1,5 +1,5 @@ @model Orchard.Indexing.ViewModels.IndexViewModel -@Style.Require("IndexingAdmin"); +@{ Style.Require("IndexingAdmin"); }

@Html.TitleForPage(T("Search Index Management").ToString())

@using (Html.BeginForm("update", "admin", FormMethod.Post, new {area = "Orchard.Indexing"})) { diff --git a/src/Orchard.Web/Modules/Orchard.Media/Views/Admin/Add.cshtml b/src/Orchard.Web/Modules/Orchard.Media/Views/Admin/Add.cshtml index ba741a366..917a1c009 100644 --- a/src/Orchard.Web/Modules/Orchard.Media/Views/Admin/Add.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Media/Views/Admin/Add.cshtml @@ -1,7 +1,7 @@ @model Orchard.Media.ViewModels.MediaItemAddViewModel @using Orchard.Media.Helpers @using Orchard.Media.Models -@Style.Require("MediaAdmin"); +@{ Style.Require("MediaAdmin"); }

@Html.TitleForPage(T("Add Media").ToString())