@model NP.Model.VMCM
@Html.TextBoxFor(m => m.Exam.exname, new { @class = "form-control ff", @maxlength = "100", @placeholder = "시험명을 입력하세요." })
회원 : @Html.TextBoxFor(m => m.Exam.infee, new { @class = "form-control disp-init int text-right", @style = "width: 100px" })   비회원 : @Html.TextBoxFor(m => m.Exam.outfee, new { @class = "form-control disp-init int text-right", @style = "width: 100px" })
@Html.Partial("./Partial/Select", Model.ComCodes.Where(w => w.cgroup == "cert"), new ViewDataDictionary { { "special", "reg" }, { "name", "Exam.certcc" }, { "selected", Model.Exam.certcc }, { "df", ":-상위분류" }, { "class", "disp-init" } }) @Html.Partial("./Partial/Select", Model.ComCodes.Where(w => w.cgroup == "certgrade"), new ViewDataDictionary { { "special", "reg" }, { "name", "Exam.certgradecc" }, { "selected", Model.Exam.certgradecc }, { "df", ":-과정분류" }, { "class", "disp-init" } })
@Html.Partial("./Partial/Date", Model.Exam.rstime.Year < 2000 ? (DateTime?)null : Model.Exam.rstime, new ViewDataDictionary { { "name", "Exam.rstime" } }) ~ @Html.Partial("./Partial/Date", Model.Exam.retime.Year < 2000 ? (DateTime?)null : Model.Exam.retime, new ViewDataDictionary { { "name", "Exam.retime" } })
@Html.Partial("./Partial/Date", Model.Exam.estime.Year < 2000 ? (DateTime?)null : Model.Exam.estime, new ViewDataDictionary { { "name", "Exam.estime" } }) @Html.Partial("./Partial/Select", "", new ViewDataDictionary { { "special", "fromto" }, { "name", "estime" }, { "start", 0 }, { "end", 23 }, { "textadd", "시" }, { "df", ":-시작시간" }, { "class", "disp-init" }, { "style", "width: 120px;" }, { "selected", Model.Exam.estime.Year < 1900 ? "" : Model.Exam.estime.Hour.ToString() } }) ~ @Html.Partial("./Partial/Select", "", new ViewDataDictionary { { "special", "fromto" }, { "name", "eetime" }, { "start", 0 }, { "end", 23 }, { "textadd", "시" }, { "df", ":-종료시간" }, { "class", "disp-init" }, { "style", "width: 120px;" }, { "selected", Model.Exam.estime.Year < 1900 ? "" : Model.Exam.eetime.Hour.ToString() } })
@Html.TextBoxFor(m => m.Exam.elocation, new { @class = "form-control", @maxlength = "100" })
@Html.Partial("./Partial/Date", Model.Exam.certdate.Year < 2000 ? (DateTime?)null : Model.Exam.certdate, new ViewDataDictionary() { { "name", "Exam.certdate" } }) ※ 유효기간 : 발급일로부터 @Html.Partial("./Partial/Date", Model.Exam.certindate.Year < 2000 ? (DateTime?)null : Model.Exam.certindate, new ViewDataDictionary() { { "name", "Exam.certindate" } })
@Html.TextAreaFor(m => m.Exam.introhtml, new { @class = "form-control", @style = "resize: none; width: 90%; height: 80px; padding: 3px 5px;" })
@Html.Partial("./Partial/File", Model.FileList.Where(w => w.fgno == Model.Exam.fgno).ToList(), new ViewDataDictionary { { "name", "Exam.fgno" },{"value", Model.Exam.fgno },{ "fname", "fgno"}, {"width", null },{"table", "exam" },{ "column", "fgno"},{"filecount", 100 }, {"readmode", 0 },{"hidemode", 0 }, { "isimage", 0 }, { "fileext", "" }})
@Html.Partial("./Partial/Radio", Model.Exam.isopen, new ViewDataDictionary() { { "valuetext", "1:공개;0:비공개" }, { "checked", Model.Exam.isopen }, { "name", "Exam.isopen" } })
@Html.HiddenFor(m => m.intval)
 
@(Model.Exam.exno > 0 ? "수정" : "저장") @if (Model.Exam.exno > 0) { 삭제 } 목록
@Html.Partial("./Partial/DForm", Model, new ViewDataDictionary { { "preform", 1 } })
@section styles{ @Html.Partial("./Partial/Summernotestyle") } @section scriptsHeader{ @Html.Partial("./Partial/ScriptDate") @Html.Partial("./Partial/Summernote") @Html.Partial("./Partial/FileScript") } @section scripts{ }