app/soc/templates/modules/ghop/program/allocation/allocation.html
author Daniel Hans <Daniel.M.Hans@gmail.com>
Mon, 02 Nov 2009 23:38:43 +0100
changeset 3074 ebda36efbd61
parent 2828 a0f221472487
permissions -rw-r--r--
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 %}