| @@ -34,7 +34,22 @@ | ||
| 34 | 34 | <?php echo esc_html( $details['label'] ); ?> |
| 35 | 35 | </a> |
| 36 | 36 | <?php endif; ?> |
| 37 | 37 | </div> |
| 38 | - <div class="frm-payments-tab-filler"></div> | |
| 38 | + <?php | |
| 39 | + $filler_params = array( | |
| 40 | + 'class' => 'frm-payments-tab-filler', | |
| 41 | + ); | |
| 42 | + | |
| 43 | + if ( 'coupons' === $tab_key ) { | |
| 44 | + $filler_params['style'] = 'flex: 1;'; | |
| 45 | + } | |
| 46 | + ?> | |
| 47 | + <div <?php FrmAppHelper::array_to_html_params( $filler_params, true ); ?>></div> | |
| 39 | 48 | <?php endforeach; ?> |
| 49 | + <div class="frm-payments-settings-button"> | |
| 50 | + <a href="<?php echo esc_url( admin_url( 'admin.php?page=formidable-settings&t=stripe_settings' ) ); ?>" class="button button-secondary frm-button"> | |
| 51 | + <?php FrmAppHelper::icon_by_class( 'frmfont frm_small_settings_icon' ); ?> | |
| 52 | + <?php esc_html_e( 'Payment settings', 'formidable' ); ?> | |
| 53 | + </a> | |
| 54 | + </div> | |
| 40 | 55 | </div> |