mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Fixing up tbody positions
This commit is contained in:
@@ -1,16 +1,18 @@
|
||||
- if @enterprise_fees.count > 0
|
||||
%table
|
||||
%tr
|
||||
%th Name
|
||||
%th Fee Type
|
||||
-# %th Calculator
|
||||
-# %th Calculator Values
|
||||
- @enterprise_fees.each do |enterprise_fee|
|
||||
%thead
|
||||
%tr
|
||||
%td= enterprise_fee.name
|
||||
%td= enterprise_fee.fee_type
|
||||
-# %td= enterprise_fee.calculator.preferred_flat_percent
|
||||
-# %td= enterprise_fee.fee_type
|
||||
%th Name
|
||||
%th Fee Type
|
||||
-# %th Calculator
|
||||
-# %th Calculator Values
|
||||
%tbody
|
||||
- @enterprise_fees.each do |enterprise_fee|
|
||||
%tr
|
||||
%td= enterprise_fee.name
|
||||
%td= enterprise_fee.fee_type
|
||||
-# %td= enterprise_fee.calculator.preferred_flat_percent
|
||||
-# %td= enterprise_fee.fee_type
|
||||
%br
|
||||
%div
|
||||
%a.button{ href: "#{main_app.admin_enterprise_fees_path}"}
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
%th Name
|
||||
%th Applies?
|
||||
%th
|
||||
%tbody
|
||||
- @shipping_methods.each do |shipping_method|
|
||||
%tbody
|
||||
%tr{ ng: { controller: 'shippingMethodCtrl', init: "findShippingMethodByID(#{shipping_method.id})" } }
|
||||
%td= shipping_method.name
|
||||
%td= f.check_box :shipping_method_ids, { :multiple => true, 'ng-model' => 'ShippingMethod.selected' }, shipping_method.id, nil
|
||||
%td= link_to "Edit", edit_admin_shipping_method_path(shipping_method)
|
||||
%tr{ ng: { controller: 'shippingMethodCtrl', init: "findShippingMethodByID(#{shipping_method.id})" } }
|
||||
%td= shipping_method.name
|
||||
%td= f.check_box :shipping_method_ids, { :multiple => true, 'ng-model' => 'ShippingMethod.selected' }, shipping_method.id, nil
|
||||
%td= link_to "Edit", edit_admin_shipping_method_path(shipping_method)
|
||||
%br
|
||||
.row
|
||||
.six.columns.alpha
|
||||
|
||||
Reference in New Issue
Block a user