Render tags on edit view
This commit is contained in:
parent
37895d3f86
commit
79c01373d6
1 changed files with 7 additions and 0 deletions
|
@ -287,4 +287,11 @@
|
||||||
|
|
||||||
@section Scripts {
|
@section Scripts {
|
||||||
@{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
|
@{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
|
||||||
|
|
||||||
|
<script>
|
||||||
|
new Select('.developer-select', @Html.Raw(Json.Serialize(Model.Developers)));
|
||||||
|
new Select('.publisher-select', @Html.Raw(Json.Serialize(Model.Publishers)));
|
||||||
|
new Select('.genre-select', @Html.Raw(Json.Serialize(Model.Genres)));
|
||||||
|
new Select('.tag-select', @Html.Raw(Json.Serialize(Model.Tags)));
|
||||||
|
</script>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue