anchor.diff:                      <td class="col-2"><%= batch.full_name %></td>
                     <% end %>
                   </tr>
  +                <% i=i+1 %>
                 <% end %>
               </table>
             <% else %>
  
positive.code:           <% end %>
            <% unless ranked_students.empty? %>
              <% c = 'even' %>
              <table id="pdf-table" width="100%" cellspacing="0">
                <tr class="table-header">
                  <td><%= t('sl_no') %></td>
  
negative.code:       </div>
      <% else %>
        <div id ="main_info">
          <h3 align="center"><%= @ranking_level.name %> <%= t('students') %></h3>
          <h4 align="center"><%= @course.full_name %></h4>
        </div>
        <div id="pdf-info">
  