diff --git a/openatlas/forms/display.py b/openatlas/forms/display.py index e0a05ad72..99404933d 100644 --- a/openatlas/forms/display.py +++ b/openatlas/forms/display.py @@ -28,7 +28,7 @@ def html_form( html += add_row(field, '', field(), row_css=field.selectors) continue if field.type in ['CSRFTokenField', 'HiddenField']: - html += str(field) + html += f' {field}' continue if field.type in ['CustomField']: html += add_row(field, value=field.content) diff --git a/openatlas/templates/layout.html b/openatlas/templates/layout.html index d8a534558..3e65ac4bf 100644 --- a/openatlas/templates/layout.html +++ b/openatlas/templates/layout.html @@ -40,7 +40,7 @@ primary: '{{ config.CSS.button.primary }}', secondary: '{{ config.CSS.button.secondary }}' } - } + }