Enabling @RenderSection in the Music store code.
This commit is contained in:
parent
0db736b056
commit
c0250392b2
|
|
@ -32,5 +32,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@section Scripts {
|
@section Scripts {
|
||||||
@Scripts.Render("~/bundles/jqueryval")
|
@*Bug : Script helpers are out of scope for alpha*@
|
||||||
|
@*@Scripts.Render("~/bundles/jqueryval")*@
|
||||||
|
<script src="@Url.Content("~/Scripts/jquery.validate.js")"></script>
|
||||||
|
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")"></script>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -56,5 +56,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@section Scripts {
|
@section Scripts {
|
||||||
@Scripts.Render("~/bundles/jqueryval")
|
@*Bug : Script helpers are out of scope for alpha*@
|
||||||
|
@*@Scripts.Render("~/bundles/jqueryval")*@
|
||||||
|
<script src="@Url.Content("~/Scripts/jquery.validate.js")"></script>
|
||||||
|
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")"></script>
|
||||||
}
|
}
|
||||||
|
|
@ -26,6 +26,10 @@
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@section Scripts {
|
@section Scripts {
|
||||||
@Scripts.Render("~/bundles/jqueryval")
|
@*Bug : Script helpers are out of scope for alpha*@
|
||||||
|
@*@Scripts.Render("~/bundles/jqueryval")*@
|
||||||
|
<script src="@Url.Content("~/Scripts/jquery.validate.js")"></script>
|
||||||
|
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")"></script>
|
||||||
}
|
}
|
||||||
|
|
@ -39,5 +39,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@section Scripts {
|
@section Scripts {
|
||||||
@Scripts.Render("~/bundles/jqueryval")
|
@*Bug : Script helpers are out of scope for alpha*@
|
||||||
|
@*@Scripts.Render("~/bundles/jqueryval")*@
|
||||||
|
<script src="@Url.Content("~/Scripts/jquery.validate.js")"></script>
|
||||||
|
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")"></script>
|
||||||
}
|
}
|
||||||
|
|
@ -7,7 +7,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@section Scripts {
|
@section Scripts {
|
||||||
|
@*Bug : Script helpers are out of scope for alpha*@
|
||||||
@*@Scripts.Render("~/bundles/jqueryval")*@
|
@*@Scripts.Render("~/bundles/jqueryval")*@
|
||||||
|
<script src="@Url.Content("~/Scripts/jquery.validate.js")"></script>
|
||||||
|
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")"></script>
|
||||||
}
|
}
|
||||||
|
|
||||||
@*@using (Html.BeginForm())*@
|
@*@using (Html.BeginForm())*@
|
||||||
|
|
|
||||||
|
|
@ -48,11 +48,10 @@
|
||||||
|
|
||||||
@*Bug: No script helpers yet*@
|
@*Bug: No script helpers yet*@
|
||||||
@*@Scripts.Render("~/bundles/jquery")
|
@*@Scripts.Render("~/bundles/jquery")
|
||||||
@Scripts.Render("~/bundles/bootstrap")
|
@Scripts.Render("~/bundles/bootstrap")*@
|
||||||
@RenderSection("scripts", required: false)*@
|
|
||||||
|
|
||||||
<script src="~/Scripts/jquery-1.10.2.js"></script>
|
<script src="~/Scripts/jquery-1.10.2.js"></script>
|
||||||
<script src="~/Scripts/bootstrap.js"></script>
|
<script src="~/Scripts/bootstrap.js"></script>
|
||||||
<script src="~/Scripts/respond.js"></script>
|
<script src="~/Scripts/respond.js"></script>
|
||||||
|
@RenderSection("scripts", required: false)
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
@ -71,5 +71,8 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@section Scripts {
|
@section Scripts {
|
||||||
@Scripts.Render("~/bundles/jqueryval")
|
@*Bug : Script helpers are out of scope for alpha*@
|
||||||
|
@*@Scripts.Render("~/bundles/jqueryval")*@
|
||||||
|
<script src="@Url.Content("~/Scripts/jquery.validate.js")"></script>
|
||||||
|
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")"></script>
|
||||||
}
|
}
|
||||||
|
|
@ -71,5 +71,8 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@section Scripts {
|
@section Scripts {
|
||||||
@Scripts.Render("~/bundles/jqueryval")
|
@*Bug : Script helpers are out of scope for alpha*@
|
||||||
|
@*@Scripts.Render("~/bundles/jqueryval")*@
|
||||||
|
<script src="@Url.Content("~/Scripts/jquery.validate.js")"></script>
|
||||||
|
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")"></script>
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue