disable adding documents to cancelled proposals
This commit is contained in:
		
							parent
							
								
									584392e897
								
							
						
					
					
						commit
						13194574bb
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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 %}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue