mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-05 02:41:33 +00:00
Fix conditional display of order cycle selection element
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
- content_for :injection_data do
|
||||
= inject_current_order_cycle
|
||||
|
||||
%ordercycle{"ng-controller" => "OrderCycleCtrl"}
|
||||
|
||||
- unless no_open_order_cycles?
|
||||
- unless no_open_order_cycles?
|
||||
%ordercycle{"ng-controller" => "OrderCycleCtrl"}
|
||||
%form.custom
|
||||
= yield :order_cycle_form
|
||||
|
||||
Reference in New Issue
Block a user