@model NP.Model.VMCM @{ if (Model.CMSD.sdno > 0) { ViewBag.PopupMenuName = "토론수정"; if (Model.CMSD.sdtype == 0) { ViewBag.PopupMenuName = "과제수정"; } } Layout = "~/Views/Shared/_PopupLayout.cshtml"; }
@if (Model.examsavable == "") { @Html.Partial("./Partial/Radio", "0:과제", new ViewDataDictionary { { "special", "stringlist" }, { "name", "CMSD.sdtype" }, { "checked", 0 } }) @*@Html.Partial("./Partial/Radio", "0:과제;1:토론", new ViewDataDictionary { { "special", "stringlist" }, { "name", "CMSD.sdtype" }, { "checked", Model.CMSD.sdtype } })*@ } else { @Html.HiddenFor(m=>m.CMSD.sdtype)@Model.CMSD.sdname }
@Html.TextBoxFor(m => m.CMSD.sdname, new { @class = "form-control", @maxlength = "100" })
@Html.TextAreaFor(m => m.CMSD.sddesc, new { @class = "form-control", @maxlength = "5000", @style = "resize: none; height: 70px;" })
@Html.TextBoxFor(m => m.CMSD.tpoint, new { @class = "form-control int nocomma disp-init text-center", @maxlength = "3", @style = "width: 100px;" })
출석률 @Html.TextBoxFor(m => m.CMSD.sdcondition, new { @class = "form-control disp-init int nocomma text-center", @maxlength = "3", @style = "width: 80px;" }) % 이상
@Html.Partial("./Partial/File", Model.FileList, new ViewDataDictionary { { "name", "CMSD.fgno" },{"value", Model.CMSD.fgno},{ "fname", "file"}, {"width", null },{"table", "cmsd" },{ "column", "fgno"},{"filecount", 10 }, {"readmode", 0 },{"hidemode", 0 }, { "isimage", 0 },{ "imageid", "imgprofile" },{ "dftsrc", "/img/common/profile_sample.jpg" }, { "fileext", "" }, { "loginfo",Model.CMSD.sdno+"|9"} })
저장 @if (Model.CMSD.sdno > 0) { 삭제 } 닫기
@Html.HiddenFor(m => m.CMSD.cmno) @Html.HiddenFor(m => m.cmno) @Html.HiddenFor(m => m.IsSavedForParent) @Html.Partial("./Partial/DForm", Model)
@section styles{ } @section scriptsHeader{ @Html.Partial("./Partial/FileScript") } @section scripts{ }