aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authormadelinegr <laura_wilson@brown.edu>2019-02-23 21:22:31 -0500
committermadelinegr <laura_wilson@brown.edu>2019-02-23 21:22:31 -0500
commitc4a15bf0abed7a6b2ea3fa7d47f1027e02a2874b (patch)
tree91988dacbb263ba6148524201d81e37c222893f6 /views
parent0bf7b0764bc49fdd40e775f4a5ee6bfac056bc79 (diff)
signup, login and logout implemented. does nothing.
Diffstat (limited to 'views')
-rw-r--r--views/login.pug21
1 files changed, 21 insertions, 0 deletions
diff --git a/views/login.pug b/views/login.pug
new file mode 100644
index 000000000..1ec799745
--- /dev/null
+++ b/views/login.pug
@@ -0,0 +1,21 @@
+
+extends ./layout
+
+block content
+ .page-header
+ h3 Can you log in? Let's find out...
+ form.form-horizontal(id='login-form', method='POST')
+ input(type='hidden', name='_csrf', value=_csrf)
+ .form-group
+ label.col-sm-3.control-label(for='email') Email
+ .col-sm-7
+ input.form-control(type='email', name='email', id='email', placeholder='Email', autofocus, required)
+ .form-group
+ label.col-sm-3.control-label(for='password') Password
+ .col-sm-7
+ input.form-control(type='password', name='password', id='password', placeholder='Password', required)
+ .form-group
+ .col-sm-offset-3.col-sm-7
+ button.btn.btn-success(type='submit')
+ i.fa.fa-user-plus
+ | Login \ No newline at end of file