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