Improved image formatting.

This commit is contained in:
Yaro Kasear 2025-09-23 11:11:02 -05:00
parent 4800d60fb6
commit 979a329d6a

View file

@ -50,10 +50,11 @@ def init_entry_routes(app):
"attrs": {"class": "form-control"}, "label_attrs": {"class": "form-label"}}, "attrs": {"class": "form-control"}, "label_attrs": {"class": "form-label"}},
{"name": "image", "label": "", "row": "image", "type": "template", "label_spec": "{filename}", {"name": "image", "label": "", "row": "image", "type": "template", "label_spec": "{filename}",
"template": "image_display.html", "attrs": {"class": "img-fluid img-thumbnail"}}, "template": "image_display.html", "attrs": {"class": "img-fluid img-thumbnail h-100"},
"wrap": {"class": "h-100"}},
{"name": "notes", "type": "textarea", "label": "Notes", "row": "notes", "wrap": {"class": "col"}, {"name": "notes", "type": "textarea", "label": "Notes", "row": "notes", "wrap": {"class": "col"},
"attrs": {"class": "form-control", "rows": 10}}, "attrs": {"class": "form-control", "rows": 10}, "label_attrs": {"class": "form-label"}},
] ]
layout = [ layout = [
{"name": "label", "order": 5}, {"name": "label", "order": 5},