app/soc/templates/modules/ghop/task/approve/approve.html
changeset 3017 6689a4c8f02e
parent 2827 58e2a02e35b4
equal deleted inserted replaced
3016:63625e7e0cac 3017:6689a4c8f02e
     1 {% extends "soc/models/list.html" %}
     1 {% extends "soc/models/list.html" %}
     2 
       
     3 {% block scripts %}
       
     4 {{ block.super }}
       
     5 
       
     6 <script type="text/javascript">
       
     7   var RETURN_URL = "{{ return_url }}";
       
     8   $(document).ready(function(){
       
     9     $('[id^=id_spin_slot_count_]').spin({min:0});
       
    10   });
       
    11 </script>
       
    12 {% endblock %}
       
    13 
     2 
    14 {% block body %}
     3 {% block body %}
    15 <form method="POST">
     4 <form method="POST">
    16 {% if up_list %}
     5 <input style="font-weight: bold" type="submit" name="Approve"
    17 <input style="font-weight: bold" type="submit" 
     6 value="Approve"/></span>
    18 value="Approve and Publish"/></span>
     7 <input style="font-weight: bold" type="submit" name="Publish"
    19 {% endif %}
     8 value="Publish"/></span>
    20 {% if error_message %}
     9 {% if error_message %}
    21 <div class="error">{{ error_message|safe }}</div>
    10 <div class="error">{{ error_message|safe }}</div>
    22 {% endif %}
    11 {% endif %}
    23 {{ block.super }}
    12 {{ block.super }}
    24 </form>
    13 </form>
    25 {% endblock %}
    14 {% endblock %}
    26