diff --git a/tailbone/forms/core.py b/tailbone/forms/core.py index 6918a9cc..d6303bb1 100644 --- a/tailbone/forms/core.py +++ b/tailbone/forms/core.py @@ -1157,6 +1157,10 @@ class Form(object): return HTML.tag('div', class_='field-wrapper {}'.format(field_name), c=contents) + # nb. for some reason we must wrap once more for oruga, + # otherwise it splits up the field?! + value = HTML.tag('span', c=[value]) + # oruga uses return HTML.tag('o-field', label=label, c=[value], **{':horizontal': 'true'}) diff --git a/tailbone/templates/products/view.mako b/tailbone/templates/products/view.mako index c4da08ba..bd4afc7f 100644 --- a/tailbone/templates/products/view.mako +++ b/tailbone/templates/products/view.mako @@ -4,6 +4,9 @@ <%def name="extra_styles()"> ${parent.extra_styles()}