change popup forms to crispy

This commit is contained in:
Sanj 2012-08-01 16:06:46 +05:30
parent 5c4285a43e
commit 547080485c

View File

@ -1,11 +1,15 @@
{% load crispy_forms_tags %}
<!doctype html>
<html>
<head>
<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/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/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 src="/static/js/select2.js" type="text/javascript"></script>
<script src="/static/js/itfSelect2.js"></script>
@ -16,15 +20,9 @@
<body>
<form action="" method="POST" id="formItf">
{% csrf_token %}
<table>
{{ form.as_table }}
<tr>
<td>
</td>
<td><input type="submit" value="Submit" /></td>
</tr>
</table>
{% crispy form form.helper %}
<br />
<input type="submit" value="Submit" />
</form>
</body>