1
{% extends "base.html" %}
4
<h2>Login to Hostbase!</h2>
5
<p>You must login to manage hosts</p>
10
{% if form.has_errors %}
11
{{ form.username.errors|join:", " }}
14
{% if user.is_authenticated %}
15
<p>Welcome, {{ user.username }}. Thanks for logging in.</p>
17
<p>Welcome, user. Please log in.</p>
18
<form name="input" action="." method="post">
19
<input name="username" type="text">
21
<input name="password" type="password">
23
<input type="submit" value="Login">
25
<input type="hidden" name="next" value="{{ next }}" />
27
<input type="hidden" name="next" value="/hostbase/" />