Sha256: 6b2d4ade12a806e1813c372fee22e0f2067a4c5d79ed5eefba6f94335dd1c900

Contents?: true

Size: 791 Bytes

Versions: 17

Compression:

Stored size: 791 Bytes

Contents

- @page_title = "Customers"

= content_for :header do
  %p.buttons
    = link_to "New Customer", :new_customer, class: "button green"
    = link_to "Search Customers", '#', class: 'button', rel: "searchCustomers"
  %h2.users Customers

= render "search_form"

.table
  %table.data
    %thead
      %tr
        %th Name
        %th Company
        %th Email
        %th Phone
        %th Mobile
    %tbody
      - if @customers.empty?
        %tr.empty
          %td{colspan: 5} No customers to display.
      - else
        - for customer in @customers
          %tr
            %td= link_to customer.full_name, customer
            %td= link_to customer.company, customer
            %td= customer.email
            %td= customer.phone
            %td= customer.mobile
= paginate @customers

Version data entries

17 entries across 17 versions & 4 rubygems

Version Path
shoppe-1.1.1 app/views/shoppe/customers/index.html.haml
kkt_shoppe-2.0.2 app/views/kkt_shoppe/customers/index.html.haml
kkt_shoppe-2.0.1 app/views/kkt_shoppe/customers/index.html.haml
kkt_shoppe-2.0.0 app/views/kkt_shoppe/customers/index.html.haml
shoppe-1.1.0 app/views/shoppe/customers/index.html.haml
kkt_shoppe-1.3.0 app/views/kkt_shoppe/customers/index.html.haml
kkt_shoppe-1.2.1 app/views/kkt_shoppe/customers/index.html.haml
kkt_shoppe-1.2.0 app/views/kkt_shoppe/customers/index.html.haml
kkt_shoppe-1.1.2 app/views/kkt_shoppe/customers/index.html.haml
shoppe-1.0.9 app/views/shoppe/customers/index.html.haml
kkt_shoppe-1.1.1 app/views/kkt_shoppe/customers/index.html.haml
kkt_shoppe-1.1.0 app/views/kkt_shoppe/customers/index.html.haml
kylekthompson_shoppe-1.1.0 app/views/kylekthompson_shoppe/customers/index.html.haml
kylekthompson_shoppe-1.0.9 app/views/kylekthompson_shoppe/customers/index.html.haml
shoppe-1.0.8 app/views/shoppe/customers/index.html.haml
kylekthompson_shoppe-1.0.7 app/views/kylekthompson_shoppe/customers/index.html.haml
kylekthompson-shoppe-1.0.7 app/views/shoppe/customers/index.html.haml