Moving figcaption up again!
This commit is contained in:
parent
adee7c58c4
commit
4ad2a23158
|
@ -17,7 +17,7 @@ def qr_code(value):
|
||||||
|
|
||||||
return mark_safe(
|
return mark_safe(
|
||||||
"<figure style='text-align: center;'>"
|
"<figure style='text-align: center;'>"
|
||||||
'<img src="data:image/png;base64,{}" alt="">'
|
|
||||||
"<figcaption style='text-align: center;'>{}</figcaption>"
|
"<figcaption style='text-align: center;'>{}</figcaption>"
|
||||||
"</figure>".format(data.decode(), value)
|
'<img src="data:image/png;base64,{}" alt="">'
|
||||||
|
"</figure>".format(value, data.decode())
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue