Add asynchronous call to database.
[recipes.git] / backend / templates / sign_in_form.html
index d41b3cd..1e54353 100644 (file)
@@ -1,15 +1,16 @@
-{% extends "base.html" %}
+{% extends "base_with_header.html" %}
 
 {% block main_container %}
     <div class="content">
         <form action="/signin" method="post">
             <label for="email_field">Email address</label>
-            <input id="email_field" type="text" name="email" autocapitalize="none" autocomplete="email" autofocus="autofocus" />
+            <input id="email_field" type="text" name="email" value="{{ email }}" autocapitalize="none" autocomplete="email" autofocus="autofocus" />
 
             <label for="password_field">Password</label>
             <input id="password_field" type="password" name="password" autocomplete="current-password" />
 
             <input type="submit" name="commit" value="Sign in" />
         </form>
+        {{ message }}
     </div>
 {% endblock %}