Skip to content

Commit

Permalink
added first ,last name,phone
Browse files Browse the repository at this point in the history
  • Loading branch information
Preciousomonze committed Jul 5, 2018
1 parent 9004d14 commit d7393b1
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions views/pay-now-form.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,20 @@
<div>
<form id="<?php echo $form_id ?>" class="flw-simple-pay-now-form" <?php echo $data_attr; ?> >
<div id="notice"></div>
<?php if ( empty( $atts['email'] ) ) : ?>

<label class="pay-now"><?php _e( 'First name', 'rave-pay' ) ?></label>
<input class="flw-form-input-text" id="flw-customer-firstname" type="text" placeholder="<?php _e( 'First name', 'rave-pay' ) ?>" required value="<?php echo $atts['firstname']; ?>"/><br>

<label class="pay-now"><?php _e( 'last name', 'rave-pay' ) ?></label>
<input class="flw-form-input-text" id="flw-customer-lastname" type="text" placeholder="<?php _e( 'Last name', 'rave-pay' ) ?>" required value="<?php echo $atts['lastname']; ?>"/><br>

<label class="pay-now"><?php _e( 'Phone number', 'rave-pay' ) ?></label>
<input class="flw-form-input-text" id="flw-customer-phone" type="tel" placeholder="<?php _e( 'Phone number', 'rave-pay' ) ?>" required /><br>

<?php if ( empty( $atts['email'] ) ) : ?>

<label class="pay-now"><?php _e( 'Email', 'rave-pay' ) ?></label>
<input class="flw-form-input-text" id="flw-customer-email" type="email" placeholder="<?php _e( 'Email', 'rave-pay' ) ?>" required /><br>
<input class="flw-form-input-text" id="flw-customer-email" type="email" placeholder="<?php _e( 'Email', 'rave-pay' ) ?>" required value="<?php echo $atts['email']; ?>"/><br>

<?php endif; ?>

Expand Down

0 comments on commit d7393b1

Please sign in to comment.