<?php if (!defined('ABSPATH')) {
    die('You are not allowed to call this page directly.');
} ?>

<div class="wrap">
  <h2><?php esc_html_e('New Subscription', 'memberpress'); ?></h2>

  <?php MeprView::render('/admin/errors', get_defined_vars()); ?>

  <div class="form-wrap">
    <form action="" method="post">
      <table class="form-table">
        <tbody>
          <?php MeprView::render('/admin/subscriptions/form', get_defined_vars()); ?>
        </tbody>
      </table>
      <p class="submit">
        <input type="submit" id="submit" class="button button-primary" value="<?php esc_attr_e('Create', 'memberpress'); ?>" />
      </p>
    </form>
  </div>
</div>
