app/soc/templates/modules/ghop/task/approve/approve.html
changeset 3017 6689a4c8f02e
parent 2827 58e2a02e35b4
--- a/app/soc/templates/modules/ghop/task/approve/approve.html	Mon Oct 05 20:35:06 2009 +0200
+++ b/app/soc/templates/modules/ghop/task/approve/approve.html	Mon Oct 05 22:43:30 2009 +0200
@@ -1,26 +1,14 @@
 {% 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">
-{% if up_list %}
-<input style="font-weight: bold" type="submit" 
-value="Approve and Publish"/></span>
-{% endif %}
+<input style="font-weight: bold" type="submit" name="Approve"
+value="Approve"/></span>
+<input style="font-weight: bold" type="submit" name="Publish"
+value="Publish"/></span>
 {% if error_message %}
 <div class="error">{{ error_message|safe }}</div>
 {% endif %}
 {{ block.super }}
 </form>
 {% endblock %}
-