parent
3fab26214f
commit
5ec2789881
@ -0,0 +1,10 @@
|
|||||||
|
<% poll.poll_questions.each do |poll_question|%>
|
||||||
|
<div id="poll_questions_<%= poll_question.id%>">
|
||||||
|
<div id="show_poll_questions_<%= poll_question.id %>">
|
||||||
|
<%= render :partial => 'show_MC', :locals => {:poll_question => poll_question} %>
|
||||||
|
</div>
|
||||||
|
<div id="edit_poll_questions_<%= poll_question.id %>" style="display: none;">
|
||||||
|
<%= render :partial => 'edit_MC', :locals => {:poll_question => poll_question} %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<% end %>
|
@ -1 +1 @@
|
|||||||
$("#poll_questions_<%= @poll_question.id%>").remove();
|
$("#poll_content").html("<%= escape_javascript(render :partial => 'poll_content', :locals => {:poll => @poll}) %>");
|
Loading…
Reference in new issue