
.search_pannel
  
  =form_tag "", :method => "get", :remote => true do
    .input-append
      =text_field_tag :start, params[:start],:class => "datepicker", :placeholder => "Début"
      %button.btn{:onclick => "$(this).prev('input').val('');"}
        =i(:remove, :icon => false)
        
    .input-append
      =text_field_tag :stop, params[:stop],:class => "datepicker", :placeholder => "Fin"
      %button.btn
        =i(:remove, :icon => false)
    
    
        
    =submit_tag "filtrer", :class => "btn", :style => "margin-bottom: 10px;"
    
    
   
  

%table#events.table.table-hover
  =render @events
  #pagination
    = paginate @events, :remote => true 


