what's this? is this password reset???

This commit is contained in:
Kyle Drake 2013-07-11 23:33:10 -04:00
parent 72947b6606
commit 1e1051fd36
8 changed files with 104 additions and 2 deletions

15
views/password_reset.slim Normal file
View file

@ -0,0 +1,15 @@
.text-center
.row
.span12
h1 Reset Password
.row
.span6.offset3.text-center
h5 If you provided your e-mail you can reset your password. If you didn't, you will not be able to reset your password, you will need to create a new site. We will not change a password without an email entered, no exceptions.
.row
.span12
form method="POST" action="/send_password_reset"
input name="csrf_token" type="hidden" value="#{csrf_token}"
fieldset
div: input name="email" type="email" placeholder="Your email"
div: button class="btn btn-large btn-success" href="#" style="margin-top: 10px" Send Password Reset

View file

@ -13,4 +13,7 @@
div: button class="btn btn-large btn-success" href="#" style="margin-top: 10px" Sign in
.row
.span12
a href="/new" I don't have an account yet.
div
a href="/new" I don't have an account yet.
div
a href="/password_reset" I forgot my password.