1
Fork 0

reflow password protection page

This commit is contained in:
Jake Howard 2016-12-19 18:22:24 +00:00
parent 1eaf3d4fcb
commit f0856cebaf

View file

@ -16,18 +16,20 @@
</div>
</section>
<section>
<div class="col-sm-4 col-sm-offset-4 text-center">
<h1>
<i class="fa fa-lock fa-5x"></i>
</h1>
<p>You need a password to access this page.</p>
<form action="{{ action_url }}" method="POST" role="form">
{% csrf_token %}
{{ form|bootstrap }}
<div class="form-group">
<button type="submit" class="btn btn-primary">Submit</button>
</div>
</form>
<div class="container text-center">
<div class="col-sm-4 col-sm-offset-4">
<h1>
<i class="fa fa-lock fa-5x"></i>
</h1>
<p>You need a password to access this page.</p>
<form action="{{ action_url }}" method="POST" role="form">
{% csrf_token %}
{{ form|bootstrap }}
<div class="form-group">
<button type="submit" class="btn btn-primary">Submit</button>
</div>
</form>
</div>
</div>
</section>
{% endblock %}