parent
167d001b3f
commit
034a92bb7b
@ -0,0 +1,23 @@
|
|||||||
|
|
||||||
|
<% poll.exercise_questions.each do |poll_question|%>
|
||||||
|
<div id="poll_questions_<%= poll_question.id%>">
|
||||||
|
<!--<div id="show_poll_questions_<%= poll_question.id %>">
|
||||||
|
<%# if poll_question.question_type == 1%>
|
||||||
|
<%#= render :partial => 'show_MC', :locals => {:poll_question => poll_question} %>
|
||||||
|
<%# elsif poll_question.question_type == 2%>
|
||||||
|
<%#= render :partial => 'show_MCQ', :locals => {:poll_question => poll_question} %>
|
||||||
|
<%# elsif poll_question.question_type == 3%>
|
||||||
|
<%#= render :partial => 'show_single', :locals => {:poll_question => poll_question} %>
|
||||||
|
<%# end%>
|
||||||
|
</div>-->
|
||||||
|
<div id="edit_poll_questions_<%= poll_question.id %>" style="display: none;">
|
||||||
|
<% if poll_question.question_type == 1%>
|
||||||
|
<%= render :partial => 'edit_MC', :locals => {:poll_question => poll_question} %>
|
||||||
|
<% elsif poll_question.question_type == 2%>
|
||||||
|
<%= render :partial => 'edit_MCQ', :locals => {:poll_question => poll_question} %>
|
||||||
|
<% elsif poll_question.question_type == 3%>
|
||||||
|
<%= render :partial => 'edit_single', :locals => {:poll_question => poll_question} %>
|
||||||
|
<% end%>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<% end %>
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,22 @@
|
|||||||
|
<ul class="hworkUl">
|
||||||
|
<li class="hworkList340 hworkH30 width530">
|
||||||
|
<span class="c_dark f14 fb fl mr55"> </span>
|
||||||
|
<span class="c_dark f14 fb fl mr60">姓名</span>
|
||||||
|
<span class="c_dark f14 fb fl mr60">学号</span>
|
||||||
|
<span class="c_dark f14 fb fl">班级</span>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="hworkList130 hworkH30">
|
||||||
|
<%= link_to "时间",'',:class => "c_dark f14 fb fl ml50" ,:remote => true%>
|
||||||
|
<%# if @show_all && @order == "created_at"%>
|
||||||
|
<%#= link_to "", student_work_index_path(:homework => @homework.id,:order => "created_at", :sort => @score, :name => @name, :group => @group) ,:class => "#{@score == 'desc' ? 'st_up' : 'st_down'} mt10",:remote => true%>
|
||||||
|
<%# end%>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="hworkList50 hworkH30">
|
||||||
|
<%= link_to "成绩",'',:class => "c_dark f14 fb fl ml10",:remote => true%>
|
||||||
|
<%# if @show_all && @order == "score"%>
|
||||||
|
<%#= link_to "", student_work_index_path(:homework => @homework.id,:order => "score", :sort => @score, :name => @name, :group => @group) ,:class => "#{@score == 'desc' ? 'st_up' : 'st_down'} mt10",:remote => true%>
|
||||||
|
<%# end%>
|
||||||
|
</li>
|
||||||
|
</ul>
|
@ -0,0 +1 @@
|
|||||||
|
<%= render :partial => 'exercise_form'%>
|
@ -0,0 +1 @@
|
|||||||
|
<%= render :partial => 'exercise_form'%>
|
Loading…
Reference in new issue