negos_app/app/views/admin/customers/index.html.haml
2016-02-16 21:09:48 +01:00

50 lines
864 B
Plaintext
Executable File

%h1 Liste des utilisateurs
.row
.col-md-10
%table.table.table-hover.table-striped.customer_table
%thead#customer_rows_header.rows_header
%tr
%th
Société
%th
Nom
%th
Téléphone
%th
Ville
%th
Email confirmé ?
%th
Email
%th{:style => "width:100px;text-align:right;"}
 
%tbody#customer_rows.rows
=render @customers
.pagination= paginate @customers
.col-md-2
= semantic_form_for :search, :html => {id: :search_form, :method => :get } do |f|
= f.inputs do
=f.input :q, :as => :search, label: "Recherche", input_html: {value: params[:q], :name => 'q' }, placeholder: "Nom, Prénom ou Société"
.clear
%br
:javascript