change popup forms to crispy
This commit is contained in:
parent
5c4285a43e
commit
547080485c
|
@ -1,11 +1,15 @@
|
||||||
|
{% load crispy_forms_tags %}
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<script type="text/javascript" src="/static/js/jquery-1.7.1.min.js"></script>
|
<script type="text/javascript" src="/static/js/jquery-1.7.1.min.js"></script>
|
||||||
<link rel="stylesheet" href="/static/css/reset.css" />
|
<link rel="stylesheet" href="/static/css/reset.css" />
|
||||||
<link rel="stylesheet" href="/static/css/noel/main.css" />
|
<link rel="stylesheet" href="/static/css/noel/main.css" />
|
||||||
|
<link rel="stylesheet" href="/static/uni_form/uni-form.css" type="text/css" />
|
||||||
|
<link rel="stylesheet" href="/static/uni_form/default.uni-form.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="/static/css/register.css" />
|
<link rel="stylesheet" href="/static/css/register.css" />
|
||||||
<link rel="stylesheet" href="/static/css/select2/select2.css" />
|
<link rel="stylesheet" href="/static/css/select2/select2.css" />
|
||||||
|
<script src="/static/uni_form/uni-form.jquery.js" type="text/javascript"></script>
|
||||||
<script type="text/javascript" src="/static/js/RelatedObjectLookups.js"></script>
|
<script type="text/javascript" src="/static/js/RelatedObjectLookups.js"></script>
|
||||||
<script src="/static/js/select2.js" type="text/javascript"></script>
|
<script src="/static/js/select2.js" type="text/javascript"></script>
|
||||||
<script src="/static/js/itfSelect2.js"></script>
|
<script src="/static/js/itfSelect2.js"></script>
|
||||||
|
@ -16,15 +20,9 @@
|
||||||
<body>
|
<body>
|
||||||
<form action="" method="POST" id="formItf">
|
<form action="" method="POST" id="formItf">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<table>
|
{% crispy form form.helper %}
|
||||||
{{ form.as_table }}
|
<br />
|
||||||
<tr>
|
<input type="submit" value="Submit" />
|
||||||
<td>
|
|
||||||
</td>
|
|
||||||
<td><input type="submit" value="Submit" /></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user