style input elements
This commit is contained in:
@@ -6,13 +6,13 @@
|
||||
|
||||
{% block content %}
|
||||
|
||||
<form method="post" action="{% url 'login' %}">
|
||||
<form id="login-form" method="post" action="{% url 'login' %}">
|
||||
{% csrf_token %}
|
||||
<label for="username"></label>
|
||||
<input id="username" name="username" type="text" placeholder="username">
|
||||
<label for="password">password</label>
|
||||
<input id="password" name="password" type="password" placeholder="password">
|
||||
<input type="submit" value="login"/>
|
||||
<label for="username-textbox"></label>
|
||||
<input id="username-textbox" name="username" type="text" placeholder="username" autocomplete="off">
|
||||
<label for="password-textbox">password</label>
|
||||
<input id="password-textbox" name="password" type="password" placeholder="password">
|
||||
<input id="login-button" type="submit" value="login"/>
|
||||
<input type="hidden" name="next" value="{{ next }}"/>
|
||||
{% if form.errors %}
|
||||
<p>nope.</p>
|
||||
|
||||
Reference in New Issue
Block a user