Created
May 27, 2016 13:07
-
-
Save WietseWind/75eeb1dc412f9687d5eb4b2ea9b3cfe0 to your computer and use it in GitHub Desktop.
QR code uit een file upload
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>QR Reader</h1> | |
{% if param.files(true).foto.data %} | |
{#{% set data = api.IO_staticFile('qr/test.png').get() %}#} | |
{{ api.Barcode_QR(param.files(true).foto.data)|pre }} | |
{% else %} | |
<form id="form-invullen" method="post" action="{{ index }}" role="form" enctype="multipart/form-data"> | |
<input type="file" name="foto" class="file" /> | |
<button type="submit" class="btn btn-groen autodisable">Verstuur</button> | |
</form> | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment