34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
.qi_header
|
|
.right= link_to 'Créer un nouveau projet ', new_admin_s_project_path(), :class => "btn btn-primary bgbd-ventes", :remote => false
|
|
%h1
|
|
Projets
|
|
%span
|
|
Liste
|
|
|
|
|
|
.qi_search_row
|
|
=form_tag "", :method => "get", :onsubmit => "" do
|
|
|
|
=hidden_field_tag :column, params[:column]
|
|
=hidden_field_tag :direction, params[:direction]
|
|
|
|
%table
|
|
%tr
|
|
%td
|
|
Actif :
|
|
=select_tag "search[enabled]", options_for_select([[""], "Oui", "Non"], params[:search][:enabled])
|
|
|
|
%td
|
|
Projet parent ? :
|
|
=select_tag "search[parent]", options_for_select([[""], "Oui", "Non"], params[:search][:parent])
|
|
|
|
%td=text_field_tag "search[code]", params[:search][:code],:class => "form-control", :placeholder => "Code"
|
|
|
|
%td=text_field_tag "search[name]", params[:search][:name],:class => "form-control", :placeholder => "Nom"
|
|
|
|
|
|
|
|
=render :partial => "qi/qi_ordered_table_search_footer", :locals => {:collection_object => @s_projects}
|
|
|
|
|
|
=render :partial => "qi/qi_ordered_table", :locals => {:qi_ordered_table_collection => @s_projects} |