Skip to content
Browse files

disable adding documents to cancelled proposals

  • Loading branch information...
1 parent 584392e commit 13194574bb4094201123e8cc337cc3a16eaea8d3 @lukeman lukeman committed Jul 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 symposion_project/templates/proposals/proposal_detail.html
View
2 symposion_project/templates/proposals/proposal_detail.html
@@ -71,6 +71,6 @@
{% else %}
<p>No supporting documents attached to this proposal.</p>
{% endif %}
- <a class="btn btn-small" href="{% url proposal_document_create proposal.pk %}"><i class="icon-plus"></i> add document</a>
+ <a class="btn btn-small{% if proposal.cancelled %} btn-disabled{% endif %}" href="{% url proposal_document_create proposal.pk %}"><i class="icon-plus"></i> add document</a>
{% endif %}
{% endblock %}

0 comments on commit 1319457

Please sign in to comment.
Something went wrong with that request. Please try again.