diff options
-rw-r--r-- | ishtar_common/forms.py | 1 | ||||
-rw-r--r-- | ishtar_common/templates/blocks/SquareMeterWidget.html | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/ishtar_common/forms.py b/ishtar_common/forms.py index bc780ef9a..e82a6e86d 100644 --- a/ishtar_common/forms.py +++ b/ishtar_common/forms.py @@ -50,7 +50,6 @@ class NamedUrlSessionFormWizard(forms.Form): self.url_name = url_name super(NamedUrlSessionFormWizard, self).__init__(self) - def rindex(self, idx): return self.url_name.rindex(idx) 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()); |