HtmlSanitizer becomes Python 2.6 compatible.
The Cleaner class must not have any arguments when calling __init__ function for the object class, because in this case Python 2.6 raises TypeError (while previous versions just ignored them).
{% extends "soc/models/list.html" %}
{% block scripts %}
{{ block.super }}
<script type="text/javascript">
var RETURN_URL = "{{ return_url }}";
$(document).ready(function(){
$('[id^=id_spin_slot_count_]').spin({min:0});
});
</script>
{% endblock %}
{% block body %}
<form method="POST">
<input style="font-weight: bold" type="submit" value="Submit"/></span>
{% if error_message %}
<div class="error">{{ error_message|safe }}</div>
{% endif %}
{{ block.super }}
</form>
{% endblock %}