diff options
Diffstat (limited to 'website/templates')
-rwxr-xr-x | website/templates/abstract-details.html | 2 | ||||
-rwxr-xr-x | website/templates/comment-abstract.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/website/templates/abstract-details.html b/website/templates/abstract-details.html index 42c5d59..daacdbe 100755 --- a/website/templates/abstract-details.html +++ b/website/templates/abstract-details.html @@ -54,7 +54,7 @@ <p><b>Prerequisite: </b> {{ proposal.prerequisite }}</p> {% endif%} <p><b>Date Created: </b> {{ proposal.date_created }}</p> - {% if proposal.attachment.url %} + {% if url %} <p><b>Attachment: </b> <a href="{{ url }}" class="btn btn-info" target="_blank">{{filename}}</a></p> {% endif %} diff --git a/website/templates/comment-abstract.html b/website/templates/comment-abstract.html index 27b1837..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> {{ proposal.prerequisite }}</p> {% endif%} - {% if proposal.attachment.url %} + {% if url %} <b>Attachment: </b> <a href="{{ url }}" class="btn btn-info" target="_blank">{{ filename }}</a> {% endif %} <p><b>Date Created: </b> {{ proposal.date_created }}</p> @@ -111,7 +111,7 @@ {% 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> + <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> |