/includes/views/form-settings-stripe.php

  1. <?php 
  2. ?> 
  3. <h3><span class="icon-stripe"></span><?php _e( ' Stripe Settings', 'gravity-forms-stripe' ) ?></h3> 
  4. <?php if ( has_action( 'gfp_stripe_form_settings' ) ) { ?> 
  5. <form action="" method="post" id="gfp_stripe_form_settings"> 
  6. <?php wp_nonce_field( 'gfp_stripe_save_form_settings', 'gfp_stripe_save_form_settings' ) ?> 
  7.  
  8. <?php do_action( 'gfp_stripe_form_settings', $form_id ); ?> 
  9.  
  10. <input type="submit" id="gfp_stripe_update_form_settings" name="gfp_stripe_update_form_settings" 
  11. value="<?php _e( 'Update Settings', 'gravityforms-stripe-more' ); ?>" class="button-primary gfbutton"/> 
  12.  
  13. </form> 
  14. <?php } ?> 
  15.  
  16. <h2><?php 
  17. _e( 'Rules', 'gravity-forms-stripe' ); 
  18. ?> 
  19. <a id="add-new_stripe-feed" class="add-new-h2" 
  20. href="<?php echo $add_new_url ?>"><?php _e( 'Add New', 'gravity-forms-stripe' ) ?></a> 
  21.  
  22. </h2> 
  23. <form id="stripe_feeds_list_form" method="post"> 
  24.  
  25. <?php $stripe_feeds_table->display(); ?> 
  26.  
  27. <input id="action_argument" name="action_argument" type="hidden"/> <input id="action" name="action" type="hidden"/> 
  28.  
  29. <?php wp_nonce_field( 'gfp_stripe_feeds_list_action', 'gfp_stripe_feeds_list_action' ) ?> 
  30.  
  31. </form> 
.