7 lines
451 B
Plaintext
7 lines
451 B
Plaintext
|
<% _sort_args = [] %>
|
||
|
<% @survey.survey_questions.each do |question| %>
|
||
|
<% _sort_args.push [question.id.to_s, question.id.to_s, 'span1', question.title] %>
|
||
|
<% end %>
|
||
|
<% _sort_args.push ['created_at', 'created_at','span1', 'created_at'] %>
|
||
|
<%= render_sort_bar(true, delete_panel_survey_back_end_survey_answers_path(@survey, :direction => params[:direction], :sort => params[:sort], :sort_options => params[:sort_options]),
|
||
|
*_sort_args).html_safe %>
|