Sha256: e311580c1f6fdcbb7e08b2b8c8cd815fe5db26dfe25bc7ea4feb9f5f4e967c72

Contents?: true

Size: 759 Bytes

Versions: 2

Compression:

Stored size: 759 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

2 entries across 2 versions & 1 rubygems

Version Path
fe-1.0.0 app/views/fe/admin/question_pages/_question_page.html.erb
fe-0.0.4 app/views/fe/admin/question_pages/_question_page.html.erb