| @@ -8,9 +8,9 @@ | ||
| 8 | 8 | <div class="show_paypal<?php FrmTransLitePaymentsController::maybe_hide_payment_setting( 'paypal', $form_action->post_content['gateway'] ); ?>"> |
| 9 | 9 | <div class="frm_grid_container"> |
| 10 | 10 | <h3><?php esc_html_e( 'PayPal Settings', 'formidable' ); ?></h3> |
| 11 | 11 | |
| 12 | - <p class="frm6"> | |
| 12 | + <p class="frm6 frm_paypal_layout_setting<?php echo 'recurring' === $form_action->post_content['type'] ? ' frm_hidden' : ''; ?>"> | |
| 13 | 13 | <label for="<?php echo esc_attr( $action_control->get_field_id( 'paypal_layout' ) ); ?>"> |
| 14 | 14 | <?php esc_html_e( 'Layout', 'formidable' ); ?> |
| 15 | 15 | </label> |
| 16 | 16 | <?php $layout_value = ! empty( $form_action->post_content['paypal_layout'] ) ? $form_action->post_content['paypal_layout'] : 'card_and_checkout'; ?> |