Sha256: 5d711182e9d4055fea94e6369df6cb355fafe17904d6de2206c22726d3652c8c

Contents?: true

Size: 577 Bytes

Versions: 6

Compression:

Stored size: 577 Bytes

Contents

<table class="list_table">
  <tr>
    <th>ID</th>
    <th>Code</th>
	<% @questions.each do |question| %>
		<% next if question.display_order == 1 %>
		<th><%= "[" +question.display_order.to_s + "]" + question.text  %></th>
	<% end %>
  </tr>

<% @response_sets.each do |r_set| %>
  <tr>
    <td><%=h r_set.id %></td>
    <td><%=h r_set.access_code %></td>
	<% @questions.each do |question| %>
		<% next if question.display_order == 1 %>
		<td><%= display_response(r_set,question) %></td>
	<% end %>
  </tr>
<% end %>
</table>

<br />

<%= link_to "Back", admin_results_path %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
surveyor-0.16.0 app/views/results/show.html.erb
surveyor-0.15.0 app/views/results/show.html.erb
surveyor-0.14.5 app/views/results/show.html.erb
surveyor-0.14.4 app/views/results/show.html.erb
surveyor-0.14.3 app/views/results/show.html.erb
surveyor-0.14.2 app/views/results/show.html.erb