Questionnaires

<% if flash[:error] -%>
<%= flash[:error] %>
<% end -%> <%= link_to 'New Form', fe_admin_question_sheets_path(), :method => :post, :class => "add-link" %>
<% for question_sheet in @active_question_sheets %> "> <% end %>
Active Question Sheets  
<%= link_to question_sheet.label, fe_admin_question_sheet_path(question_sheet), :class => "questionnaire" %> <%= link_to 'Duplicate', duplicate_fe_admin_question_sheet_path(question_sheet), data: {confirm: 'This will take some time depending on the number of questions. Please be patient.'}, :method => :post, :class => 'duplicate' %> <%= link_to 'Archive', archive_fe_admin_question_sheet_path(question_sheet), data: {confirm: 'Are you sure you want to archive this Question Sheet?'}, :method => :post, :class => 'archive' %> <%= link_to 'Destroy', fe_admin_question_sheet_path(question_sheet), data: {confirm: 'Are you sure you want to delete this Question Sheet?'}, :method => :delete, :class => "destroy", :class => 'delete' %>
<% for question_sheet in @archived_question_sheets %> "> <% end %>
Archived Question Sheets    
<%= link_to question_sheet.label, fe_admin_question_sheet_path(question_sheet), :class => "questionnaire" %> <%= link_to 'Duplicate', duplicate_fe_admin_question_sheet_path(question_sheet), data: {confirm: 'This will take some time depending on the number of questions. Please be patient.'}, :method => :post, :class => 'duplicate' %> <%= link_to 'Un-Archive', unarchive_fe_admin_question_sheet_path(question_sheet), :method => :post, :class => 'unarchive' %>