mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-23 01:03:21 +00:00
Make OC edit warning modal cancel button redirect user to OC list [OFN-12774]
This commit is contained in:
committed by
Sigmund Petersen
parent
099da3fc6c
commit
a11873559b
@@ -11,8 +11,7 @@
|
||||
= t('.proceed')
|
||||
%button.button.secondary{ "ng-click": "submit($event, '#{main_app.admin_order_cycles_path}')", type: "button", style: "display: none;", data: { action: 'click->modal#close', 'trigger-action': 'saveAndBack' } }
|
||||
= t('.proceed')
|
||||
%button.button.primary{ type: "button", 'data-action': 'click->modal#close' }
|
||||
= t('.cancel')
|
||||
= link_to t('.cancel'), admin_order_cycles_path, id: 'cancel', class: 'button primary'
|
||||
|
||||
- if action == 'bulk_update'
|
||||
%button.button.secondary{ "ng-click": "saveAll($event)", type: "button", style: "display: none;", data: { action: 'click->modal#close', trigger_action: 'bulk_save' } }
|
||||
|
||||
Reference in New Issue
Block a user