- <html>
- <title>MovieLib</title>
- <body>
- <h1>Your Movie list</h1>
- <form method="POST" action="/">
- <input name="movie-title" id="input-new-movie" placeholder="Enter a movie title" />
- {% csrf_token %}
- </form>
- <h2>{% if user.email %}Logged-in as: {{ user }}{{ user.email }}{% else %}Not logged-in{% endif %}</h2>
- </body>
- </html>
|