mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-05 02:41:33 +00:00
Display correct label for submit button
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
%h2 Outgoing
|
||||
%p TODO
|
||||
|
||||
= f.submit 'Create'
|
||||
= f.submit @order_cycle.new_record? ? 'Create' : 'Update'
|
||||
or
|
||||
= link_to 'Cancel', main_app.admin_order_cycles_path
|
||||
|
||||
|
||||
Reference in New Issue
Block a user