From ca48d79f55103de8f294d02195fb6e2794e027a6 Mon Sep 17 00:00:00 2001 From: Ryan Peters Date: Sun, 29 Oct 2023 16:15:47 -0400 Subject: [PATCH] move scripts to appropriate pages --- Views/Note/Index.cshtml | 7 ++++++- Views/Shared/_Layout.cshtml | 2 -- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Views/Note/Index.cshtml b/Views/Note/Index.cshtml index 18616fa..086744f 100644 --- a/Views/Note/Index.cshtml +++ b/Views/Note/Index.cshtml @@ -3,4 +3,9 @@
Saved
-
Updated
\ No newline at end of file +
Updated
+ +@section scripts { + + +} \ No newline at end of file diff --git a/Views/Shared/_Layout.cshtml b/Views/Shared/_Layout.cshtml index 40d1bb9..58a263d 100644 --- a/Views/Shared/_Layout.cshtml +++ b/Views/Shared/_Layout.cshtml @@ -12,8 +12,6 @@ @RenderBody() - - @RenderSection("scripts", false)