Guest User

Untitled

a guest
Mar 6th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. <form action="{{ app_path }}" method="post">
  2. <fieldset>
  3. <input type="hidden" name="next" value="/">
  4. <p><label for="id_username">{% trans 'Username:' %}</label>
  5. <input type="text" name="username" id="id_username" />
  6. {% if form.username.errors %}
  7. <span class="error"><br />{{ form.username.errors|join:", "}}</span>
  8. {% endif %}</p>
  9.  
  10. <p><label for="id_password">{% trans 'Password:' %}</label>
  11. <input type="password" name="password" id="id_password" />
  12. {% if form.password.errors %}
  13. <span class="error"><br />{{ form.password.errors|join:", "}}</span>
  14. {% endif %}</p>
  15.  
  16. <input type="hidden" name="this_is_the_login_form" value="1" />
  17. <input type="hidden" name="post_data" value="{{ post_data }}" />
  18. <input type="hidden" name="next" value="{{ next }}" />
  19. <p><input id="id_submit" class="button" type="submit" value="{% trans 'Log in' %}" /></p>
  20.  
  21. </fieldset>
Add Comment
Please, Sign In to add comment