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