Display correct label for submit button

This commit is contained in:
Rohan Mitchell
2012-12-02 14:02:17 +11:00
parent 8e4b729351
commit 71320aa977

View File

@@ -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