Changeset - 0f8c157ad6f0
[Not reviewed]
default
0 1 0
Branko Majic (branko) - 6 years ago 2017-12-23 18:32:03
branko@majic.rs
Noticket: Fixed erroneous reversing of login URL in the login.html template.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
conntrackt/templates/conntrackt/login.html
Show inline comments
 
@@ -7,13 +7,13 @@
 

	
 
<div class="row">
 
  <div class="span4 offset4">
 
    {% if form.errors %}
 
    <p>Wrong username or password. Please try again.</p>
 
    {% endif %}
 
    <form method="post" action="{% url "django.contrib.auth.views.login" %}">
 
    <form method="post" action="{% url "login" %}">
 
      {% csrf_token %}
 
      <fieldset>
 
        <legend>Login</legend>
 
        <label class="control-label" for="id_username">{{ form.username.label_tag }} {{ form.username }}</label>
 
        <label class="control-label" for="id_password">{{ form.password.label_tag }} {{ form.password }}</label>
 
        <button type="submit" class="btn">Login</button>
0 comments (0 inline, 0 general)