<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>

<?php use EHxMe\Helpers\Helper; ?>

<div class="submitbox" id="submitpost">
    <input type="hidden" name="<?php echo esc_html(Helper::NONCE_NAME) ?>" value="<?php echo esc_html(wp_create_nonce(Helper::NONCE_NAME)) ?>">
    
    <div id="major-publishing-actions">
        <div id="publishing-action">
            <span class="spinner"></span>
            <input type="submit" name="publish" id="publish" class="button button-primary button-large" value="<?php $post->post_status == 'auto-draft' ? esc_html_e('Create', 'ehx-members') : esc_html_e('Update', 'ehx-members') ?>" accesskey="p">												
        </div>
        
        <div class="clear"></div>
    </div>
</div>