mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 21:42:14 +00:00
* [requires.io] dependency update * Server starts... Various things are broken, but it runs! * [requires.io] dependency update * [requires.io] dependency update * [requires.io] dependency update * FIX: Broken migrations * FIX: Update auth framework * FIX: Correct static use in templates * FIX: Fix supplier sort * FIX: Remaining tests * Revert "Disable password reset as temporary fix to vulnerability (#396)" This reverts commite0c6a56263. # Conflicts: # RIGS/urls.py * FIX: Fix broken newlining in PDFs Introduced by a change in Django 2.1 'HTML rendered by form widgets no longer includes a closing slash on void elements, e.g. <br>. This is incompatible within XHTML, although some widgets already used aspects of HTML5 such as boolean attributes.' * FIX: Fix some Django4 deprecation warnings Why not... * Refactor dependency file Should now only include dependencies we actually use, not dependencies of dependencies and unused things * Add newlines to the paperwork print test event This will catch the error encountered in79ec9214f9* Swap to pycodestyle rather than pep8 in Travis And eliminate W605 errors * Bit too heavy handed with the dep purge there... * Whoops, helps if one installs pycodestyle... * FIX: Re-add overridden login view * Better fix for previous commit * FIX: Bloody smartquotes Co-authored-by: requires.io <support@requires.io>
21 lines
1.0 KiB
HTML
21 lines
1.0 KiB
HTML
{% load widget_tweaks %}
|
|
{% include 'form_errors.html' %}
|
|
<div class="col-sm-6 col-sm-offset-3 col-lg-4 col-lg-offset-4">
|
|
<form action="{% url 'login' %}" method="post" role="form" target="_self">{% csrf_token %}
|
|
<div class="form-group">
|
|
<label for="id_username">{{ form.username.label }}</label>
|
|
{% render_field form.username class+="form-control" placeholder=form.username.label autofocus="" %}
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="{{ form.password.id_for_label }}">{{ form.password.label }}</label>
|
|
{% render_field form.password class+="form-control" placeholder=form.password.label %}
|
|
</div>
|
|
<div class="text-right">
|
|
<a href="{% url 'registration_register' %}" class="btn">Register</a>
|
|
<a href="{% url 'password_reset' %}" class="btn">Forgotten Password</a>
|
|
<input type="submit" id="id_submit" value="Login" class="btn btn-primary"/>
|
|
<input type="hidden" name="next" value="{{ next }}"/>
|
|
</div>
|
|
</form>
|
|
</div>
|