Sha256: c606d9b6f2366e4dc0af6a0b9a9a1af4d98a3325f9c0efebc03c432bdb589ec7

Contents?: true

Size: 740 Bytes

Versions: 1

Compression:

Stored size: 740 Bytes

Contents

.customerSearch{:style => action_name == 'search' ? "display:block" : ''}
  = search_form_for @query, :url => search_customers_path, :html => { :method => :post } do |f|
    %dl.left
      %dt= f.label :first_name_or_last_name_or_company_cont, t('shoppe.customers.first_or_last_name')
      %dd= f.text_field :first_name_or_last_name_or_company_cont
      %dt= f.label :company_cont, t('shoppe.customers.company')
      %dd= f.text_field :company_cont
    %dl.right
      %dt= f.label :email_cont, t('shoppe.customers.email')
      %dd= f.text_field :email_cont
      %dt= f.label :phone_cont, t('shoppe.customers.phone')
      %dd= f.text_field :phone_cont
      %dd= f.submit t('shoppe.customers.search'), :class => 'button green button'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoppe-1.1.2 app/views/shoppe/customers/_search_form.html.haml