summaryrefslogtreecommitdiff
path: root/website/templates/comment-abstract.html
diff options
context:
space:
mode:
Diffstat (limited to 'website/templates/comment-abstract.html')
-rwxr-xr-xwebsite/templates/comment-abstract.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/website/templates/comment-abstract.html b/website/templates/comment-abstract.html
index 8475e72..992ae91 100755
--- a/website/templates/comment-abstract.html
+++ b/website/templates/comment-abstract.html
@@ -60,7 +60,7 @@
{% if proposal.prerequisite %}
<p><b>Prerequisite: </b>&nbsp;{{ proposal.prerequisite }}</p>
{% endif%}
- {% if proposal.attachment.url %}
+ {% if url %}
<b>Attachment: </b>&nbsp;<a href="{{ url }}" class="btn btn-info" target="_blank">{{ filename }}</a>
{% endif %}
<p><b>Date Created: </b>&nbsp;{{ proposal.date_created }}</p>
@@ -111,8 +111,8 @@
{% endfor %}
<form action="{% url 'website:comment_abstract' proposal.id %}" method='POST' enctype="multipart/form-data">
{% csrf_token %}
- <textarea rows="5" cols="100" id="comment" class= "comment" name="comment" placeholder = "Add commnet here..."></textarea><br>
- <input class="button special" style="background:#d44727" type="submit" class="button" value="Comment">
+ <textarea rows="5" cols="100" id="comment" class= "comment" name="comment" placeholder = "Add commnet here..."></textarea><br/>
+ <input class="button special" style="background:#d44727" type="submit" value="Comment">
</form>
<!-- <form action="{% url 'website:status' proposal.id %}" method='POST'>{% csrf_token %}