Sha256: 8860b824862c1a206e5006ad8a1a35a3f10207f564560521f5c6d320b6171aee

Contents?: true

Size: 735 Bytes

Versions: 8

Compression:

Stored size: 735 Bytes

Contents

<div class="page">
  <h3 id="page-name">
    <%= link_to @page.label, edit_fe_admin_question_sheet_page_path(@page.question_sheet_id, @page.id), remote: true, method: :get ,  class: "ctl", id: "link-page-name"  -%>
  </h3>
  <% if @page.elements.length > 0 %>
    <ul>
    <ul class="questions" id="questions_list" data-sortable="true" data-sortable-url="<%= reorder_fe_admin_question_sheet_page_elements_path(@page.question_sheet_id, @page.id) %>" data-sortable-handle=".handle">
      <%= render partial: "fe/admin/question_pages/element", collection: @page.elements, locals: {in_grid: false} %>
    </ul>
  <% else %>
    <div style="background: #ffc;"><p>You don"t have any questions on this page yet.</p></div>
  <% end %>
</div>

Version data entries

8 entries across 5 versions & 1 rubygems

Version Path
fe-2.0.4 app/views.current/fe/admin/question_pages/_question_page.html.erb
fe-2.0.3 app/views.current/fe/admin/question_pages/_question_page.html.erb
fe-2.0.2 app/views.current/fe/admin/question_pages/_question_page.html.erb
fe-2.0.2 app/views/fe/admin/question_pages/_question_page.html.erb
fe-2.0.1 app/views.current/fe/admin/question_pages/_question_page.html.erb
fe-2.0.1 app/views/fe/admin/question_pages/_question_page.html.erb
fe-2.0.0 app/views.current/fe/admin/question_pages/_question_page.html.erb
fe-2.0.0 app/views/fe/admin/question_pages/_question_page.html.erb