<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:55:"F:\www\EduWork/./application/admin\view\course\add.html";i:1476702088;}*/ ?>
<div>
<form class="form-horizontal bv-form"  role="form"  id="addForm">
    <fieldset>
        <legend>基本信息</legend>

    <div class="form-group">
        <label class="col-sm-3 control-label">名字</label>
        <div class="col-sm-5">
            <input type="text" class="form-control" name="course_name" >
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">一课时价钱</label>
        <div class="col-sm-5">
            <input type="text" class="form-control" name="course_unitprice" >
        </div>
    </div>

        <div class="form-group">
            <label class="col-sm-3 control-label">课时数</label>
            <div class="col-sm-5">
                <input type="text" class="form-control" name="course_periodnum" >
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-3 control-label">状态</label>
            &nbsp;&nbsp;&nbsp;<div class="col-sm-5">

            <div class="radio-inline">
                <label>
                    <input type="radio" name="course_status" value="0" > 停用
                </label>
            </div>

            <div class="radio-inline">
                <label>
                    <input type="radio" name="course_status" value="1" > 启用
                </label>
            </div>

        </div>
        </div>

        <div class="form-group">
            <label class="col-sm-3 control-label">年级</label>
            <div class="col-sm-5">
                <select name="course_grade_id" id="select_gradeid" class="form-control" style="height:35px;">
                    <option value="">请选择年级</option>
                    <?php if(is_array($grades) || $grades instanceof \think\Collection): $i = 0; $__LIST__ = $grades;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$grade): $mod = ($i % 2 );++$i;?>
                      <option value="<?php echo $grade['id']; ?>"><?php echo $grade['grade_name']; ?></option>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </select>
            </div>
        </div>

    <div class="form-group">
        <label class="col-sm-3 control-label">科目</label>
        <div class="col-sm-5">
            <select class="form-control" name="course_subject_id" style="height:35px;">
                <option value="">请选择科目</option>
                <?php if(is_array($subjects) || $subjects instanceof \think\Collection): $i = 0; $__LIST__ = $subjects;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$subject): $mod = ($i % 2 );++$i;?>
                  <option value="<?php echo $subject['id']; ?>"><?php echo $subject['subject_name']; ?></option>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </select>
        </div>
    </div>
    </fieldset>
</form>
</div>


