convert form to bootstrap
This commit is contained in:
parent
07b12875a5
commit
e5f87cce90
1 changed files with 5 additions and 7 deletions
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in a new issue