Sha256: 681bb5679e95e993906917902327cdf184a2bbca93f8531f968c53e22efba267
Contents?: true
Size: 709 Bytes
Versions: 1
Compression:
Stored size: 709 Bytes
Contents
<h3 id='sheet-name'><%= answer_sheet.question_sheet.label %></h3> <% if elements.length > 0 -%> <% elements.each do |page_id, page_elements| -%> <% page = Fe::Page.find(page_id) %> <% next unless page.has_questions? %> <div class="page"> <h3><%= page.label %></h3> <ul class="questions readonly" start="<%= @question_number %>"> <%= render :partial => 'fe/answer_sheets/element', :collection => page_elements, :locals => {:elements => page_elements} %> </ul> </div> <br /> <% end -%> <% else -%> <div style="background: #ffc;"> <p>That's odd. There are no answers to review.</p> </div> <% end -%>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fe-0.0.4 | app/views/fe/answer_sheets/_answer_sheet.html.erb |