adapted login form size; fixed wrong path of bootstrap.min.js

This commit is contained in:
fonfon 2014-11-11 22:39:23 +01:00
parent 64c1682b2c
commit b4df883eee
2 changed files with 7 additions and 3 deletions

View File

@ -161,7 +161,7 @@
<!-- Local link to system jQuery -->
<script type="text/javascript" src="{% static 'theme/js/libs/jquery.min.js' %}"></script>
<!-- Local link to system Bootstrap JS -->
<script type="text/javascript" src="{% static 'theme/bootstrap-3.2.0/js/bootstrap.min.js' %}"></script>
<script type="text/javascript" src="{% static 'theme/bootstrap/js/bootstrap.min.js' %}"></script>
{% block js_block %}
{{ js|safe }}

View File

@ -23,9 +23,13 @@
{% block main_block %}
<form class="form" method="post">
{% csrf_token %}
{{ form|bootstrap }}
<div class="row">
{% csrf_token %}
<div class="col-sm-4">
{{ form|bootstrap }}
</div>
</div>
<input type="submit" class="btn-primary" value="Login" />
<input type="hidden" name="next" value="{{ next }}" />