<form method="POST"> <input type="password" name="password" placeholder="Password Anda"> <button type="submit">Masuk</button> {% if error %} <p style="color:red;">{{ error }}</p> {% endif %} </form>