convert form to bootstrap

This commit is contained in:
Luke Hatcher 2012-10-01 13:27:28 -04:00
parent 07b12875a5
commit e5f87cce90

View file

@ -1,17 +1,15 @@
{% extends "reviews/base.html" %} {% extends "reviews/base.html" %}
{% load uni_form_tags %} {% load bootstrap_tags %}
{% block body %} {% block body %}
<h1>Bulk Accept</h1> <h1>Bulk Accept</h1>
<form action="" method="POST" class="uniForm" accept-charset="utf-8"> <form action="" method="POST" class="uniForm" accept-charset="utf-8">
{% csrf_token %} {% csrf_token %}
<fieldset> {{ form|as_bootstrap }}
{{ form|as_uni_form }} <div class="form-actions">
<div class="form_block"> <input class="btn btn-primary" type="submit" name="submit" value="submit" />
<input type="submit" name="submit" value="submit" /> </div>
</div>
</fieldset>
</form> </form>
{% endblock %} {% endblock %}