35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
|
@{
|
||
|
Layout = "_DialogLayout";
|
||
|
}
|
||
|
@using JXCMS.CMS.Movie.Entity
|
||
|
@model List<JXCMS.CMS.Movie.Entity.WebSiteClassifyEntity>
|
||
|
@{
|
||
|
var classifyEntities = (List<ClassifyEntity>) ViewBag.classifyEntities;
|
||
|
}
|
||
|
<form id="modify_website" action="@Url.Action("UpdateBindingClassify")" method="post">
|
||
|
@for (int i = 0; i < Model.Count; i++)
|
||
|
{
|
||
|
@Html.HiddenFor(x => x[i].Id)
|
||
|
@Html.HiddenFor(x => x[i].WebSiteId)
|
||
|
@Html.HiddenFor(x => x[i].TypeName)
|
||
|
@Html.HiddenFor(x => x[i].TypeId)
|
||
|
<div class="input-daterange input-group" style="margin-bottom: 10px">
|
||
|
<span class="form-control">@Model[i].TypeName</span>
|
||
|
<span class="input-group-addon">
|
||
|
<i class="mdi mdi-link-variant"></i>
|
||
|
</span>
|
||
|
@Html.DropDownListFor(x => x[i].ClassifyId, new SelectList(classifyEntities, "Id", "Name", Model[i].ClassifyId),
|
||
|
new {@class = "form-control"})
|
||
|
</div>
|
||
|
}
|
||
|
</form>
|
||
|
|
||
|
@section dialogScript
|
||
|
{
|
||
|
|
||
|
<script type="text/javascript">
|
||
|
$('#commit').click(function() {
|
||
|
$('#modify_website').submit();
|
||
|
})
|
||
|
</script>
|
||
|
}
|