Website Summary Files Commits Branches @commit @diff @stats
path: root / wp-content / themes / carmag / templates / register.php
blob: e61f9ccf967cc20ac24855bb77dd7164c23687c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/**
 * Template Name: Register
 *
 * Custom register template for the theme
 *
 * @since  v1.0.0
 * @package CarMag
 */


get_header(); ?>

<section class="section-fullwidth section-register">
	<div class="row">
		<div class="column small-12 medium-8">
            <div id="primary" class="content-area">
                <main id="main" class="site-main">
                    <form method="POST" action="<?php echo admin_url('admin-post.php') ?>" class="register-form">
												<input type="hidden" name="action" value="process_register">
                        <h1>Create Account</h1>

                        <input class="form-input"  type="email" name="email" id="email" placeholder="Email" required autofocus>
                        <input class="form-input"  type="text" name="name" id="name" placeholder="Name" required>
                        <input class="form-input"  type="password" name="password" id="password" placeholder="Password" required>
                        <input class="form-input"  type="password" name="confirm_password" id="confirm_password" placeholder="Confirm password" required>
                        <button type="submit" class="form-submit">Register</button>

                        <p class="form-suggestion">Already have an account? <a href="/login/">Login</a></p>
                    </form>
                </main><!-- #main -->
            </div><!-- #primary -->
		</div><!-- .column -->
	</div><!-- .row -->
</section><!-- .section-fullwidth -->

<?php get_footer(); ?>