Merge branch 'cxt_course' of https://git.trustie.net/jacknudt/trustieforge into cxt_course
Conflicts: app/views/poll/_show_mulit.html.erb
This commit is contained in:
commit
df4bb86cdd
|
@ -3,17 +3,17 @@
|
||||||
<%= render :partial => "poll_tool_bar", :locals => {:type => 'mulit', :poll_question => poll_question}%>
|
<%= render :partial => "poll_tool_bar", :locals => {:type => 'mulit', :poll_question => poll_question}%>
|
||||||
</div>
|
</div>
|
||||||
<div class="poll-content">
|
<div class="poll-content">
|
||||||
<div class="testEditTitle">
|
<div class="testEditTitle" style="padding-top:0;">
|
||||||
<span class="formatContainer m_w500"><%= poll_question.question_title %></span>
|
<span class="formatContainer m_w500"><%= poll_question.question_title %></span>
|
||||||
<span class="fontBlue">[多行主观题]</span>
|
<span class="fontBlue">[多行主观题]</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a class="ur_icon_edit" title="编辑" onclick="pollQuestionEdit(<%= poll_question.id%>);"></a>
|
<a class="poll-edit" title="编辑" onclick="pollQuestionEdit(<%= poll_question.id%>);"></a>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
<% poll_question.poll_answers.reorder("answer_position").each_with_index do |poll_answer, i| %>
|
<% poll_question.poll_answers.reorder("answer_position").each_with_index do |poll_answer, i| %>
|
||||||
<div class="ml40 mb10">
|
<div class="ml20 mb10">
|
||||||
<p class="mb10"><%= i + 1 %>.<%= poll_answer.answer_text%></p>
|
<p class="mb10"><%= i + 1 %>.<%= poll_answer.answer_text%></p>
|
||||||
<input type="text" class="questionnaire-input" name="<%= poll_question %>" style="width:652px;" />
|
<input type="text" class="questionnaire-input" name="<%= poll_question %>" style="width:620px;" />
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue