mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-26 20:16:15 +08:00
committed by
Sébastien Ros
parent
e90f114a8b
commit
3cb63d80af
@@ -1,6 +1,6 @@
|
||||
@model Orchard.Layouts.ViewModels.EditElementViewModel
|
||||
@{
|
||||
ViewBag.Command = "add";
|
||||
ViewBag.TitleFormat = "Add {0}";
|
||||
ViewBag.TitleFormat = T("Add {0}").Text;
|
||||
}
|
||||
@Html.Partial("ElementEditor", Model, ViewData)
|
||||
@@ -1,6 +1,6 @@
|
||||
@model Orchard.Layouts.ViewModels.EditElementViewModel
|
||||
@{
|
||||
ViewBag.Command = "update";
|
||||
ViewBag.TitleFormat = String.IsNullOrWhiteSpace(Model.ElementData) ? "Add {0}" : "Edit {0}";
|
||||
ViewBag.TitleFormat = String.IsNullOrWhiteSpace(Model.ElementData) ? T("Add {0}").Text : T("Edit {0}").Text;
|
||||
}
|
||||
@Html.Partial("ElementEditor", Model, ViewData)
|
||||
Reference in New Issue
Block a user