diff --git a/resources/views/payments/edit.blade.php b/resources/views/payments/edit.blade.php index 24ee49d3ab..52252950d1 100644 --- a/resources/views/payments/edit.blade.php +++ b/resources/views/payments/edit.blade.php @@ -14,7 +14,7 @@ @section('content') - {!! Former::open($url) + {!! Former::open($payment ? $url : '') ->addClass('col-lg-10 col-lg-offset-1 warn-on-exit main-form') ->onsubmit('return onFormSubmit(event)') ->method($method) @@ -134,6 +134,7 @@