.qi_row
  .qi_pannel.padding

    %h1=l @kaps_day.date

    %p Les Kaps du jours

    -#@kaps_day.generate_kapsmes
    
    -#KapsRappel.generate_rappels
    
    
    
.qi_row
  .qi_pannel.qi_plain.padding{:style => "position:relative;"}
    #pourcentage_inner{:style => "position:absolute;top:0;left:0;right:0;"}
      =render(:partial => "pourcentage", :locals => {:kaps_day => @kaps_day})


    %table.table
      %tr
        %th 
        

        %th Points
  

        %th Public ?
        
        
       
        %th
  

      %tbody#kaps_rows
        =render @kaps_day.kapsmes.order("id DESC")
  
    =link_to "Réinitialiser", [:public, @kaps_day], :method => :delete, :data => {:confirm => "Etes vous sûr ?"}
    
    #kaps_day_resume=render :partial => "kaps_day_resume", :locals => {:kaps_day => @kaps_day}
