.qi_row

  -@i_tasks.order("end_at ASC").group(:end_at).each do |ech|





    -if ech.end_at
    
      %p{:style => "margin-top:30px;"}
        %strong=l ech.end_at if ech.end_at
    
      =render @i_tasks.where(:end_at => ech.end_at).order("end_at ASC, done DESC")



  %p{:style => "margin-top:30px;"}
    %strong Sans échéances

  =render @i_tasks.where(:end_at => nil).order("end_at ASC, done DESC")
  
%br
%br
%br
%br
%br
%br
%br
%br
%br
