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

pdf download button for sharing mode

This commit is contained in:
Jb Lm 2022-03-31 16:17:12 +02:00
parent 2f7c1f5156
commit bb48a9acd8

View File

@ -86,6 +86,7 @@
</div> </div>
</form> </form>
<?php else: ?> <?php else: ?>
<a class="btn btn-outline-secondary w-100" href="/signature/<?php echo $hash ?>/pdf"><i class="bi bi-download"></i> Télécharger le PDF</a>
<form id="form_pdf" action="/signature/<?php echo $hash ?>/save" method="post" enctype="multipart/form-data"> <form id="form_pdf" action="/signature/<?php echo $hash ?>/save" method="post" enctype="multipart/form-data">
<input id="input_svg" name="svg[]" type="file" class="d-none" /> <input id="input_svg" name="svg[]" type="file" class="d-none" />
<div class="d-grid gap-2 mt-2"> <div class="d-grid gap-2 mt-2">