27 lines
702 B
Plaintext
27 lines
702 B
Plaintext
|
|
.search_pannel
|
|
|
|
=form_tag "", :method => "get", :remote => true, :onsubmit => "set_busy();" 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#articles.table.table-striped
|
|
=render @articles
|
|
#pagination
|
|
= paginate @articles, :remote => true
|
|
|
|
|