1
0
mirror of https://github.com/24eme/signaturepdf.git synced 2023-08-25 09:33:08 +02:00

Type pdf seulement dans le formulaire d'upload

This commit is contained in:
Vincent LAURENT 2021-11-12 01:51:43 +01:00
parent 82b1dcc913
commit a2dc3872b6

View File

@ -17,7 +17,7 @@
<input id="input_key" name="key" type="hidden" value="<?php echo $key ?>">
<div class="col-12">
<label for="input_pdf_upload" class="form-label">Choisir un PDF</label>
<input id="input_pdf_upload" class="form-control form-control-lg" name="pdf" type="file">
<input id="input_pdf_upload" class="form-control form-control-lg" name="pdf" type="file" accept=".pdf,application/pdf">
<a class="btn btn-sm btn-link opacity-75" href="/#https://raw.githubusercontent.com/24eme/signaturepdf/master/tests/files/document.pdf">(Tester avec un PDF de démo)</a>
</div>
<div class="col-12">