<%= render 'filter' %>

<table class="table main-list">
  <thead>
    <tr>
      <th class="span1"></th>
      <% @survey.survey_questions.each do |question| %>
        <th class="span1"></th>
      <% end %>
      <th class="span1"></th>
    </tr>
  </thead>
  <tbody id="tbody_survey_answers" class="sort-holder">
    <%= render :partial => 'answer', :collection => @answers %>
  </tbody>
</table>

<div class="form-actions form-fixed pagination-right">
  <%= link_to t(:back) + t('survey.survey'), panel_survey_back_end_surveys_path, :class => 'btn btn-primary pull-right' %>
  <div id="survey_answers_pagination" class="paginationFixed">
  <%= paginate @answers %>
  </div>
</div>