anchor.diff:      </tr>
     </thead>
     <tbody>
  -    <% (6..23).each do |i| %>
  +    <% (6..23).each do |hour| %>
         <tr>
  -        <th>
  -          <%= (i < 10 ? "0#{i}" : i) %>:00
  -        </th>
  +        <th><%= (hour < 10 ? "0#{hour}" : hour) %>:00</th>
           <% days.each do |day| %>
  -          <td data-day-hour="<%= "#{day}#{i}" %>"></td>
  +          <td data-day-hour="<%= "#{day}#{hour}" %>"></td>
           <% end %>
         </tr>
       <% end %>
  
positive.code: 
  <table class="table tableViewAllocation table-hover table-bordered">
    <thead>
      <% days = %w(Segunda Terça Quarta Quinta Sexta Sábado) %>
      <tr>
        <th>Horários</th>
        <% days.each do |day| %>
          <th><%= day %></th>
  
negative.code:     start_time = allocation.start_time.strftime('%H:%M').to_i
      rowspan = allocation.final_time.strftime('%H').to_i - start_time
    %>
      <p class="dataAllocation" data-day="<%= allocation.day %>" data-hour="<%= start_time %>" data-rowspan="<%= rowspan %>">
        <%= allocation.school_room.discipline.name %>
          <a href="#!" class="openModal" data-school-room="<%= allocation.school_room.id %>" data-courses="<% allocation.school_room.courses.each do |course| %><%= (course == allocation.school_room.courses.last ? course.name : "#{course.name}") %><% end %>" data-discipline="<%= allocation.school_room.discipline.name %>" data-vacancies="<%= allocation.school_room.vacancies %>" data-department="<%= allocation.school_room.discipline.department.name %>">
            <small>Turma: <%= allocation.school_room.name %></small>
          </a>
      </p>
  