wenpai.org/wp-content/plugins/glotpress/gp-templates/project-new.php
2024-06-21 23:57:39 +08:00

21 lines
711 B
PHP

<?php
gp_title( __( 'Create New Project &lt; GlotPress', 'glotpress' ) );
gp_breadcrumb_project(
$project,
array(
__( 'Create New Project', 'glotpress' ),
)
);
gp_tmpl_header();
?>
<h2><?php _e( 'Create New Project', 'glotpress' ); ?></h2>
<form action="" method="post">
<?php gp_tmpl_load( 'project-form', get_defined_vars() ); ?>
<div class="button-group">
<input class="button is-primary" type="submit" name="submit" value="<?php esc_attr_e( 'Create', 'glotpress' ); ?>" id="submit" />
<a class="button is-link" href="<?php echo esc_url( gp_url_public_root() ); ?>"><?php _e( 'Cancel', 'glotpress' ); ?></a>
</div>
<?php gp_route_nonce_field( 'add-project' ); ?>
</form>
<?php
gp_tmpl_footer();