| 20 | | {% if modo_review %} |
| 21 | | {% block review_buttons_top %} |
| 22 | | <div class="review_buttons"> |
| 23 | | <form action="{% url reviewapp.change_submission_status object.submission.pk 'approved' %}" method="POST" style="display:inline;"> |
| 24 | | {% csrf_token %} |
| 25 | | <input id="approve_review" type="submit" style="font-size: 80%;" value="{% trans 'Approve Submission' %}" title="{% trans 'Approve Submission' %}" {% if not can_approve %} disabled="disabled" {% endif %} /> |
| 26 | | </form> |
| 27 | | <form action="{% url reviewapp.change_submission_status object.submission.pk 'resubmit' %}" method="POST" style="display:inline;"> |
| 28 | | {% csrf_token %} |
| 29 | | <input id="resubmit_review" type="submit" style="font-size: 80%;" value="{% trans 'Resubmit Submission' %}" title="{% trans 'Resubmit Submission' %}" {% if not can_resubmit %} disabled="disabled" {% endif %} /> |
| 30 | | </form> |
| 31 | | </div> |
| 32 | | {% endblock %} |
| 33 | | {% endif %} |
| | 20 | {% block review_buttons_top %} |
| | 21 | <div class="review_buttons" {% if not review_mode %}style="display:none;"{% endif %}> |
| | 22 | <form action="{% url reviewapp.change_submission_status object.submission.pk 'approved' %}" method="POST" style="display:inline;"> |
| | 23 | {% csrf_token %} |
| | 24 | <input id="approve_review" type="submit" style="font-size: 80%;" value="{% trans 'Approve Submission' %}" title="{% trans 'Approve Submission' %}" {% if not can_approve %} disabled="disabled" {% endif %} /> |
| | 25 | </form> |
| | 26 | <form action="{% url reviewapp.change_submission_status object.submission.pk 'resubmit' %}" method="POST" style="display:inline;"> |
| | 27 | {% csrf_token %} |
| | 28 | <input id="resubmit_review" type="submit" style="font-size: 80%;" value="{% trans 'Resubmit Submission' %}" title="{% trans 'Resubmit Submission' %}" {% if not can_resubmit %} disabled="disabled" {% endif %} /> |
| | 29 | </form> |
| | 30 | </div> |
| | 31 | {% endblock %} |