mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Use resource manager in routable template
--HG-- branch : dev
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
@model Orchard.Core.Routable.ViewModels.RoutableEditorViewModel
|
||||
@using Orchard.Utility.Extensions
|
||||
@Script.Require("Slugify");
|
||||
|
||||
<fieldset>
|
||||
@Html.LabelFor(m => m.Title)
|
||||
@@ -11,7 +12,6 @@
|
||||
@Html.EditorFor(m => m.PromoteToHomePage)
|
||||
<label for="@ViewData.TemplateInfo.GetFullHtmlFieldId("PromoteToHomePage")" class="forcheckbox">@T("Set as home page")</label>
|
||||
</fieldset>
|
||||
@//todo: IResourceManager -> Html.RegisterFootScript("jquery.slugify.js");
|
||||
@using(Capture(script => WorkContext.Page.Tail.Add(script))){
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
|
Reference in New Issue
Block a user