28 lines
2.0 KiB
Plaintext
28 lines
2.0 KiB
Plaintext
<div class="questionContainer">
|
||
<div class="ur_editor_title">
|
||
<label>问题: </label>
|
||
<input name="question_type" value="1" type="hidden">
|
||
<input maxlength="250" class="questionTitle" name="poll_questions_title" id="poll_questions_title" placeholder="请输入填空题的内容(注意:目前填空题暂时仅支持一个空)" type="text">
|
||
</div>
|
||
<div class="ur_editor_content">
|
||
<ul>
|
||
<li class="ur_item">
|
||
<label>候选答案一<span class="ur_index"></span>: </label>
|
||
<input name="question_answer[0]" placeholder="请输入候选答案一" type="text">
|
||
<a class="icon_add" title="向下插入选项" onclick="add_single_answer($(this));"></a> <a class="icon_remove" title="删除" onclick="remove_single_answer($(this))"></a> </li>
|
||
<div class="cl"></div>
|
||
<li class="ur_item">
|
||
<label>候选答案二<span class="ur_index"></span>: </label>
|
||
<input name="question_answer[1]" placeholder="请输入候选答案二(选填)" type="text">
|
||
<a class="icon_add" title="向下插入选项" onclick="add_single_answer($(this));"></a> <a class="icon_remove" title="删除" onclick="remove_single_answer($(this))"></a> </li>
|
||
<div class="cl"></div>
|
||
<li class="ur_item">
|
||
<label>候选答案三<span class="ur_index"></span>: </label>
|
||
<input name="question_answer[2]" placeholder="请输入候选答案三(选填)" type="text">
|
||
<a class="icon_add" title="向下插入选项" onclick="add_single_answer($(this));"></a> <a class="icon_remove" title="删除" onclick="remove_single_answer($(this))"></a> </li>
|
||
<div class="cl"></div>
|
||
</ul>
|
||
</div>
|
||
<div class="ur_editor_footer"> <a class="btn btn_dark btn_submit c_white" data-button="ok" onclick="add_poll_question($(this));"> 保存 </a> <a class="btn btn_light btn_cancel" data-button="cancel" onclick="$(this).parent().parent().parent().remove();"> 取消 </a> </div>
|
||
<div class="cl"></div>
|
||
</div> |