Test Failed
Push — master ( cd44a0...d8bbfb )
by Devin
01:14
created
includes/forms/template.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -928,10 +928,10 @@  discard block
 block discarded – undo
928 928
 			    <?php echo( give_field_is_required( 'billing_country', $form_id ) ? ' required aria-required="true" ' : '' ); ?>
929 929
 		    >
930 930
 			    <?php
931
-			    foreach ( $countries as $country_code => $country ) {
932
-				    echo '<option value="' . esc_attr( $country_code ) . '"' . selected( $country_code, $selected_country, false ) . '>' . $country . '</option>';
933
-			    }
934
-			    ?>
931
+				foreach ( $countries as $country_code => $country ) {
932
+					echo '<option value="' . esc_attr( $country_code ) . '"' . selected( $country_code, $selected_country, false ) . '>' . $country . '</option>';
933
+				}
934
+				?>
935 935
 		    </select>
936 936
 	    </p>
937 937
 
@@ -1000,7 +1000,7 @@  discard block
 block discarded – undo
1000 1000
 		    <label for="card_state" class="give-label">
1001 1001
 			    <span class="state-label-text"><?php echo $label; ?></span>
1002 1002
 			    <?php if ( give_field_is_required( 'card_state', $form_id ) ) :
1003
-				    ?>
1003
+					?>
1004 1004
 				    <span class="give-required-indicator <?php echo( array_key_exists( $selected_country, $states_not_required_country_list ) ? 'give-hidden' : '' ) ?> ">*</span>
1005 1005
 			    <?php endif; ?>
1006 1006
 			    <span class="give-tooltip give-icon give-icon-question"
@@ -1008,17 +1008,17 @@  discard block
 block discarded – undo
1008 1008
 		    </label>
1009 1009
 		    <?php
1010 1010
 
1011
-		    if ( ! empty( $states ) ) : ?>
1011
+			if ( ! empty( $states ) ) : ?>
1012 1012
 			    <select
1013 1013
 					    name="card_state"
1014 1014
 					    id="card_state"
1015 1015
 					    class="card_state give-select<?php echo( give_field_is_required( 'card_state', $form_id ) ? ' required' : '' ); ?>"
1016 1016
 				    <?php echo( give_field_is_required( 'card_state', $form_id ) ? ' required aria-required="true" ' : '' ); ?>>
1017 1017
 				    <?php
1018
-				    foreach ( $states as $state_code => $state ) {
1019
-					    echo '<option value="' . $state_code . '"' . selected( $state_code, $selected_state, false ) . '>' . $state . '</option>';
1020
-				    }
1021
-				    ?>
1018
+					foreach ( $states as $state_code => $state ) {
1019
+						echo '<option value="' . $state_code . '"' . selected( $state_code, $selected_state, false ) . '>' . $state . '</option>';
1020
+					}
1021
+					?>
1022 1022
 			    </select>
1023 1023
 		    <?php else : ?>
1024 1024
 			    <input type="text" size="6" name="card_state" id="card_state" class="card_state give-input"
@@ -1218,8 +1218,8 @@  discard block
 block discarded – undo
1218 1218
 				<a href="<?php echo remove_query_arg( 'login' ); ?>" class="give-checkout-register-cancel"
1219 1219
 				   data-action="give_checkout_register">
1220 1220
 					<?php if ( give_logged_in_only( $form_id ) ) {
1221
-					    _e( 'Register as a part of your donation &raquo;', 'give' );
1222
-                    } else {
1221
+						_e( 'Register as a part of your donation &raquo;', 'give' );
1222
+					} else {
1223 1223
 						 _e( 'Register or donate as a guest &raquo;', 'give' );
1224 1224
 					} ?>
1225 1225
 				</a>
Please login to merge, or discard this patch.