Website Summary Files Commits Branches @commit @diff @stats
path: root / wp-content / themes / carmag / templates / login.php
blob: 30da90b1f6f8657a52081b2d0165ef3860d23f65 (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
<?php
/**
 * Template Name: Login
 *
 * Custom login template for the theme
 *
 * @since  v1.0.0
 * @package CarMag
 */


get_header(); ?>

<!-- Left and right aligned image with text next to them -->
<section class="section-fullwidth section-login">
	<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="login-form">
											 	<input type="hidden" name="action" value="process_login">
                        <h1>Login</h1>

                        <input class="form-input" type="email" name="email" id="email" placeholder="Email" required autofocus>
                        <input class="form-input" type="password" name="password" id="password" placeholder="Password" required>
                        <button type="submit" class="form-submit">Login</button>

                        <p class="form-suggestion">Don't have an account? <a href="/register/">Register</a></p>
                    </form>
                </main><!-- #main -->
            </div><!-- #primary -->
		</div><!-- .column -->
	</div><!-- .row -->
</section><!-- .section-fullwidth -->

<?php get_footer(); ?>