Merge pull request #379 from flokli/qrcode-caption
qrcode: move caption before qrcode
This commit is contained in:
commit
6f55bda732
|
@ -17,7 +17,7 @@ def qr_code(value):
|
|||
|
||||
return mark_safe(
|
||||
"<figure style='text-align: center;'>"
|
||||
'<img src="data:image/png;base64,{}" alt="">'
|
||||
"<figcaption style='text-align: center;'>{}</figcaption>"
|
||||
'<img src="data:image/png;base64,{}" alt="">'
|
||||
"</figure>".format(data.decode(), value)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue