JOE
2018-10-29 872ceef23617d9fb6914c5cbfd3cf4bb77f14fb2
views/login.html
....@@ -27,7 +27,7 @@
2727 <div class="title-login">
2828 Log In
2929 </div>
30
- <form class="login-account" method="post" accept-charset="utf-8">
30
+ <form class="login-account" action="{{context}}/login" method="post" accept-charset="utf-8">
3131 <div class="input-form">
3232 <span class="label">E-mail address</span>
3333 <input class="email-input" type="text" name="login_id" id="login_id" placeholder="E-mail address" autocomplete="on" tabindex="1" value="{{email}}">
....@@ -38,11 +38,11 @@
3838
3939 <input class="password-input" type="password" name="password" id="password" placeholder="Password" autocomplete="off" tabindex="2">
4040 </div>
41
- <button class="btn-login" type="submit" name="login-btn" formaction="{{contextRoot}}/login">Log In</button>
41
+ <button class="btn-login" type="submit" name="login-btn" formaction="{{context}}/login">Log In</button>
4242 </form>
4343 <div class="divider-login-lcell"></div>
4444
45
- <a href="{{contextRoot}}/signup" class="btn-create-account" tabindex="4">Create Account</a>
45
+ <a href="{{context}}/signup" class="btn-create-account" tabindex="4">Create Account</a>
4646 </div>
4747
4848 <div class="rcell">