Replace strong to b html tag

This commit is contained in:
Raimon Esteve 2021-07-14 13:57:34 +02:00
parent 2f1936ba36
commit bca235b937
1 changed files with 1 additions and 3 deletions

View File

@ -268,9 +268,7 @@ class WineMixin(Model):
field_name = '%s,%s' % (cls.__name__, key)
label = (Translation.get_source(field_name, 'field', language)
or getattr(cls, key).string)
data += '<h2>%s</h2>%s' % (label, getattr(record, key))
data += '<b>%s</b>%s' % (label, getattr(record, key))
res[record.id] = data
print('.....' * 10)
print(res)
return res