summaryrefslogtreecommitdiff
path: root/ishtar_common/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2013-09-03 22:25:36 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2013-09-03 22:25:36 +0200
commit1cff256b7e014297b559a78671d47a89e5478376 (patch)
tree44ab19e2f6a7fb1dfc606b8d43f406c25a1480c0 /ishtar_common/templates
parent814e2d4155011dcd1dbc1c536ad06f13ffeaaf44 (diff)
downloadIshtar-1cff256b7e014297b559a78671d47a89e5478376.tar.bz2
Ishtar-1cff256b7e014297b559a78671d47a89e5478376.zip
Fix SquareMeter widget (refs #1380)
* bad escaping of attributes
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r--ishtar_common/templates/blocks/SquareMeterWidget.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/templates/blocks/SquareMeterWidget.html b/ishtar_common/templates/blocks/SquareMeterWidget.html
index 4302ee234..85a9fa548 100644
--- a/ishtar_common/templates/blocks/SquareMeterWidget.html
+++ b/ishtar_common/templates/blocks/SquareMeterWidget.html
@@ -1,4 +1,4 @@
-<input class="area_widget" type="text"{{final_attrs}}> {{unit}} (<span id="ha_{{id}}">0</span> ha)
+<input class="area_widget" type="text"{{final_attrs|safe}}> {{unit}} (<span id="ha_{{id}}">0</span> ha)
<script type="text/javascript"><!--//
function evaluate_{{safe_id}}(){
value = parseFloat($("#{{id}}").val());