login.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {% extends "base_generic.html" %}
  2. {% block content %}
  3. <form method="post" action="{% url 'login' %}">
  4. {% csrf_token %}
  5. <div class="container">
  6. <div class="col-sm-10">
  7. <br>
  8. <br>
  9. <p>Hallo, sch&ouml;n dass du da bist!</p>
  10. <p>Wenn du hier neu bist und euer Projekt eintragen willst, dann registriere dich, bitte!</p>
  11. <div class="form-group " style="margin-top: 20px">
  12. {% if retry %} <p style="color: red">Versuchen Sie es hier erneut oder setzen Sie Ihr Passwort zurück</p> {% endif %}
  13. <label>{{ form.username.label_tag }}</label>
  14. <td>{{ form.username }}</td>
  15. </div>
  16. <div>
  17. <label>{{ form.password.label_tag }}</label>
  18. <td>{{ form.password }}</td>
  19. </div>
  20. </div>
  21. <div class="col-sm-10 justify-content-between">
  22. <div class="justify-content">
  23. <br>
  24. <input style="align-self: start" type="submit" class="btn btn-outline-secondary border-thin mybtn" value="Einloggen" />
  25. <input type="hidden" name="next" value="{{ next }}" />
  26. <br><br>
  27. <a style="align-self: end" class="btn btn-outline-secondary border-thin mybtn" href="{% url 'register-view' %}">Neuen Account registrieren</a>
  28. </div>
  29. </div>
  30. <div class="col-sm-10">
  31. <br>
  32. <a style="align-self: end" href="{% url 'password_reset' %}">Passwort vergessen?</a>
  33. <br>
  34. <br>
  35. <br>
  36. <br>
  37. </div>
  38. </div>
  39. </form>
  40. {% endblock %}