qualificationedit.html 2.2 KB
<include file="public@header" />
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:url('Question/qualification')}">资格题目列表</a></li>
        <li class="active"><a href="#">编辑资格题目</a></li>
    </ul>
    <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('Question/qualificationEditPost')}">
        <input type="hidden" value="{$edit.id}" name="id">
        <div class="form-group">
            <label class="col-sm-2 control-label"><span class="form-required">*</span>题目内容</label>
            <div class="col-md-6 col-sm-10">
                <textarea rows="10" type="text" class="form-control" id="title" name="title" placeholder="请填写题目内容">{$edit.title}</textarea>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label"><span class="form-required">*</span>选错提示信息</label>
            <div class="col-md-6 col-sm-10">
                <textarea rows="10" type="text" class="form-control" id="content" name="content" placeholder="请填写选错提示信息">{$edit.content}</textarea>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label"><span class="form-required">*</span>正确选项</label>
            <div class="col-md-6 col-sm-10">
                <input type="radio" name="type" value="0" <eq name="$edit.type" value="0">checked</eq> >否
                <input type="radio" name="type" value="1" <eq name="$edit.type" value="1">checked</eq>>是
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label"><span class="form-required">*</span>题号</label>
            <div class="col-md-6 col-sm-10">
                <input type="number" class="form-control" id="order_id" name="order_id" value="{$edit.order_id}" placeholder="由小到大排序">
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('EDIT')}</button>
            </div>
        </div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>