home.html 370 B

1234567891011
  1. <html>
  2. <title>MovieLib</title>
  3. <body>
  4. <h1>Your Movie list</h1>
  5. <form method="POST" action="/">
  6. <input name="movie-title" id="input-new-movie" placeholder="Enter a movie title" />
  7. {% csrf_token %}
  8. </form>
  9. <h2>{% if user.email %}Logged-in as: {{ user }}{{ user.email }}{% else %}Not logged-in{% endif %}</h2>
  10. </body>
  11. </html>