Moving figcaption up again!

This commit is contained in:
Víðir Valberg Guðmundsson 2019-08-09 12:45:51 +02:00
parent adee7c58c4
commit 4ad2a23158

View file

@ -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>"
"</figure>".format(data.decode(), value)
'<img src="data:image/png;base64,{}" alt="">'
"</figure>".format(value, data.decode())
)