@model NP.Model.VMCM @{ if (Model.CMRS.rsno > 0) { ViewBag.PopupMenuName = "사전설문수정"; if (Model.CMRS.rstype == 0) { ViewBag.PopupMenuName = "강의평가 수정"; } } Layout = "~/Views/Shared/_PopupLayout.cshtml"; }
@if (Model.CMRS.rsno < 1) { @Html.Partial("./Partial/Radio", "0:강의평가;1:사전설문", new ViewDataDictionary { { "special", "stringlist" }, { "name", "CMRS.rstype" }, { "checked", Model.CMRS.rstype } }) } else { @Html.HiddenFor(m=>m.CMRS.rstype)@Model.CMRS.rstypename }
@Html.TextBoxFor(m => m.CMRS.rsname, new { @class = "form-control", @maxlength = "100" })
출석률 @Html.TextBoxFor(m => m.CMRS.rscondition, new { @class = "form-control disp-init int nocomma text-center", @maxlength = "3", @style = "width: 80px;" }) % 이상
@if (Model.CMRS.rsno < 1 || String.IsNullOrEmpty(Model.examsavable)) { @Html.Partial("./Partial/Select", Model.CMRS.rsno < 1 ? Model.RSCs.Where(w => w.rscno == 0) : Model.RSCs.Where(w => w.rstype == Model.CMRS.rstype), new ViewDataDictionary { {"name", "CMRS.rscno" }, { "selected", Model.CMRS.rscno }, { "df", ":선택" } }) } else { }
저장 @if (Model.CMRS.rsno > 0) { 삭제 } 닫기
@Html.HiddenFor(m => m.CMRS.cmno) @Html.HiddenFor(m => m.cmno) @Html.HiddenFor(m => m.IsSavedForParent) @Html.Partial("./Partial/DForm", Model)
@section styles{ } @section scriptsHeader{ } @section scripts{ }