Added the ability to upload a client contact photo

This commit is contained in:
root
2019-05-15 03:00:24 -04:00
parent 13c330d3b1
commit 4b3c2c8c2a
4 changed files with 23 additions and 7 deletions

View File

@@ -7,7 +7,7 @@
<span aria-hidden="true">&times;</span>
</button>
</div>
<form action="post.php" method="post" autocomplete="off">
<form action="post.php" method="post" enctype="multipart/form-data" autocomplete="off">
<input type="hidden" name="client_id" value="<?php echo $client_id; ?>">
<div class="modal-body bg-white">
<div class="form-group">
@@ -49,6 +49,10 @@
<input type="email" class="form-control" name="email" placeholder="Email Address" required>
</div>
</div>
<div class="form-group">
<label>Photo</label>
<input type="file" class="form-control-file" name="file">
</div>
</div>
<div class="modal-footer bg-white">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>