forgot to add trans.html

This commit is contained in:
Sanj 2012-02-23 19:19:23 +05:30
parent 450ff5ae61
commit b8bafb4d08

View File

@ -0,0 +1,31 @@
<!doctype html>
<html>
<head>
<script type="text/javascript" src="/media/js/jquery.js"></script>
<script type="text/javascript" src="/media/js/trans.js"></script>
<script type="text/javascript">
var trans = {
model: '{{ model }}',
field: '{{ field }}'
};
</script>
</head>
<body>
<table>
{% for v in values %}
<tr>
<td>
{{ v.string }}
</td>
<td>
<input type="text" data-id="{{ v.id }}" data-original="{{ v.translation }}" value="{{ v.translation }}" class="transInput" size="100" />
</td>
</tr>
{% endfor %}
</table>
</body>
</html>