Remove target _blank from the payment form

Also, make it open new page automatically
This commit is contained in:
Maciej Szlosarczyk 2018-04-30 11:34:17 +03:00
parent d92004cbe0
commit 820c49a492
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765

View file

@ -2,7 +2,7 @@
= t('registrar.invoices.redirected_to_intermediary')
.payment-form
= form_tag @payment.form_url, method: :post, target: '_blank' do
= form_tag @payment.form_url, method: :post do
- @payment.form_fields.each do |k, v|
= hidden_field_tag k, v
= submit_tag t('registrar.invoices.go_to_intermediary')