Sha256: e8ea9020c5eb53bca9a081624149ba1f067ce61b2f10afb0303a640306ff9112

Contents?: true

Size: 776 Bytes

Versions: 10

Compression:

Stored size: 776 Bytes

Contents

%table.records
  %thead
    %tr
      %th= resource_humanize(:select)
      %th= resource_humanize(:vendor)
      %th= resource_humanize(:discount_code)
      %th= resource_humanize(:discount_percentage)
      %th= resource_humanize(:sales_contact)
      %th= e9_t(:actions)
  %tbody
  - if collection.empty?
    %tr
      %td{:colspan => 3}= e9_t(:no_records_text)
  - else
    - collection.each do |record|
      %tr{:id => "ids_#{record.id}", :class => cycle('odd', 'even')}
        %td= check_box record, :display_on_widget
        %td= record.vendor.name
        %td= record.discount_code
        %td= record.discount_percentage
        %td= record.sales_contact
        %td.links
          = vendor_landing_page_link(record)
          = edit_admin_resource_link(record)

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
e9_vendors-0.0.10 app/views/e9_vendors/vendor_members/_vendors.html.haml
e9_vendors-0.0.9 app/views/e9_vendors/vendor_members/_vendors.html.haml
e9_vendors-0.0.8 app/views/e9_vendors/vendor_members/_vendors.html.haml
e9_vendors-0.0.7 app/views/e9_vendors/vendor_members/_vendors.html.haml
e9_vendors-0.0.6 app/views/e9_vendors/vendor_members/_vendors.html.haml
e9_vendors-0.0.5 app/views/e9_vendors/vendor_members/_vendors.html.haml
e9_vendors-0.0.4 app/views/e9_vendors/vendor_members/_vendors.html.haml
e9_vendors-0.0.3 app/views/e9_vendors/vendor_members/_vendors.html.haml
e9_vendors-0.0.2 app/views/e9_vendors/vendor_members/_vendors.html.haml
e9_vendors-0.0.1 app/views/e9_vendors/vendor_members/_vendors.html.haml