parent
cd369ca1a3
commit
675f7d13bd
|
@ -34,23 +34,25 @@
|
|||
</div>
|
||||
{% if note.attachments.all|length > 0 %}
|
||||
<div class="row">
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Attachments</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for attachment in note.attachments %}
|
||||
<tr>
|
||||
<td>
|
||||
<a href="{% url 'attachment' attachment.id %}">{{ attachment.file_name }}</a>
|
||||
<span class="delete-attachment" data-name="{{ attachment.file_name }}" data-id="{{ attachment.id }}">
|
||||
<i class="glyphicon glyphicon-remove-circle text-danger"></i>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="col-xs-9 col-md-6">
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Attachments</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for attachment in note.attachments %}
|
||||
<tr>
|
||||
<td>
|
||||
<a href="{% url 'attachment' attachment.id %}">{{ attachment.file_name }}</a>
|
||||
<span class="delete-attachment" data-name="{{ attachment.file_name }}" data-id="{{ attachment.id }}">
|
||||
<i class="glyphicon glyphicon-remove-circle text-danger"></i>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<br/>
|
||||
|
|
Loading…
Reference in New Issue