Code Duplication    Length = 3-3 lines in 2 locations

includes/admin/donors/donors.php 1 location

@@ 356-358 (lines=3) @@
353
										<span class="donor-address info-item edit-item">
354
											<select data-key="country" name="customerinfo[country]" id="billing_country" class="billing_country give-select edit-item">
355
												<?php
356
												foreach ( $countries as $country_code => $country ) {
357
													echo '<option value="' . esc_attr( $country_code ) . '"' . selected( $country_code, $selected_country, false ) . '>' . $country . '</option>';
358
												}
359
												?>
360
											</select>
361
											<input class="info-item" type="text" data-key="line1" name="customerinfo[line1]" placeholder="<?php _e( 'Address 1', 'give' ); ?>" value="<?php echo $address['line1']; ?>" />

includes/forms/template.php 1 location

@@ 944-946 (lines=3) @@
941
			    <?php echo( give_field_is_required( 'billing_country', $form_id ) ? ' required aria-required="true" ' : '' ); ?>
942
		    >
943
			    <?php
944
			    foreach ( $countries as $country_code => $country ) {
945
				    echo '<option value="' . esc_attr( $country_code ) . '"' . selected( $country_code, $selected_country, false ) . '>' . $country . '</option>';
946
			    }
947
			    ?>
948
		    </select>
949
	    </p>