Sha256: 37f492e3b2162ed06aba0fc6c2451494440c955b6f4d6c86e2062508314d53ba
Contents?: true
Size: 887 Bytes
Versions: 20
Compression:
Stored size: 887 Bytes
Contents
<ul> <% questions.each do |question| %> <li class="new-dialog-<%= dom_id(question) %>"> <% unless Fe.never_reuse_elements %> <%= link_to(use_existing_fe_admin_question_sheet_page_element_path(question_sheet_id: @page.question_sheet_id, page_id: @page.id, id: question.id), remote: true, method: :post, onClick: "$('li.new-dialog-#{dom_id(question)}').html('Inserting...')") do %> <span>Insert</span><label> <% end %> <% end %> <%= link_to(copy_existing_fe_admin_question_sheet_page_element_path(question_sheet_id: @page.question_sheet_id, page_id: @page.id, id: question.id), remote: true, method: :post, onClick: "$('li.new-dialog-#{dom_id(question)}').html('Copying... This can take a minute')") do %> <span>Copy</span> <% end %> <label><%= raw question.label(session[:locale]) %></label> </li> <% end %> </ul>
Version data entries
20 entries across 15 versions & 1 rubygems