Skip to content

Commit

Permalink
Bookworm: fix for hidden fields display
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWatzinger committed Nov 25, 2023
1 parent 41d2700 commit 6d3202c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openatlas/forms/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion openatlas/templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
primary: '{{ config.CSS.button.primary }}',
secondary: '{{ config.CSS.button.secondary }}'
}
}
}
</script>
<script src="/static/js/functions.js"></script>
<script src="/static/js/forms.js"></script>
Expand Down

0 comments on commit 6d3202c

Please sign in to comment.