Limit attachments to specified file types

This commit is contained in:
Scot Hacker 2019-04-07 23:55:31 -07:00
parent 8cd169e502
commit ab929b07e1
3 changed files with 28 additions and 8 deletions

View file

@ -124,7 +124,7 @@
<div class="card-body pb-0">
{% if task.attachment_set.count %}
<div class="table-responsive">
<table class="table mb-0">
<table class="table mb-3">
<thead>
<tr>
<th>File</th>
@ -147,7 +147,7 @@
</div>
{% endif %}
<form method="POST" action="#" enctype="multipart/form-data">
<form method="POST" action="" enctype="multipart/form-data" style="width:50%;">
{% csrf_token %}
<div class="input-group mb-3">
<div class="custom-file">