保存单选题

This commit is contained in:
cxt 2015-11-17 18:26:39 +08:00
parent b3e6bf40ff
commit f68ffc99ec
1 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,4 @@
<%= form_for ExerciseQuestion.new,:url =>create_exercise_question_exercise_path(@exercise.id),:remote => true do |f|%>
<div class="questionContainer">
<div class="ur_editor_title">
<label>问题:&nbsp;&nbsp;</label>
@ -35,4 +36,5 @@
</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>
</div>
<% end %>