Merge branch 'master' into open

This commit is contained in:
2020-02-29 11:29:05 +00:00
committed by GitHub
35 changed files with 1081 additions and 707 deletions

View File

@@ -52,7 +52,7 @@
{% endblock %}
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<li class="dropdown" id="user">
{% if user.is_authenticated %}
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<span class="glyphicon glyphicon-user"></span>

View File

@@ -5,8 +5,10 @@
<dl class="dl-horizontal">
{% with form|nice_errors as qq %}
{% for error_name,desc in qq.items %}
<span>
<dt>{{error_name}}</dt>
<dd>{{desc}}</dd>
</span>
{% endfor %}
{% endwith %}
</dl>

View File

@@ -15,7 +15,7 @@
<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" value="Login" class="btn btn-primary"/>
<input type="submit" id="id_submit" value="Login" class="btn btn-primary"/>
<input type="hidden" name="next" value="{{ next }}"/>
</div>
</form>